new file: senses.yaml
parent
7f0f195eba
commit
dab311dcc6
|
@ -0,0 +1,53 @@
|
||||||
|
import yaml
|
||||||
|
import sqlite3
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
q = "SELECT short_name, description, sources_pages FROM senses"
|
||||||
|
|
||||||
|
conn = sqlite3.connect('../../pf2.db')
|
||||||
|
|
||||||
|
c = conn.cursor()
|
||||||
|
|
||||||
|
c.execute(q)
|
||||||
|
data = c.fetchall()
|
||||||
|
|
||||||
|
datalist = []
|
||||||
|
for i in data:
|
||||||
|
# print(i)
|
||||||
|
print(i[2])
|
||||||
|
if i[2] != "TODO":
|
||||||
|
print("We got an int")
|
||||||
|
d = {
|
||||||
|
'name': i[0],
|
||||||
|
'descr': i[1],
|
||||||
|
'source': {
|
||||||
|
'abbr': 'CRB',
|
||||||
|
'page_start': int(i[2]),
|
||||||
|
'page_stop': int(i[2])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
datalist.append(d)
|
||||||
|
else:
|
||||||
|
d = {
|
||||||
|
'name': i[0],
|
||||||
|
'descr': i[1],
|
||||||
|
'source': {
|
||||||
|
'abbr': 'CRB',
|
||||||
|
'page_start': 9999999,
|
||||||
|
'page_stop': 9999999,
|
||||||
|
'comment': "TODO fix the source page start and stop"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
datalist.append(d)
|
||||||
|
|
||||||
|
|
||||||
|
tmpd = {'senses': datalist}
|
||||||
|
final = yaml.safe_dump(tmpd, allow_unicode=True)
|
||||||
|
|
||||||
|
with open('tmp-senses.yaml', 'w') as f:
|
||||||
|
f.write(final)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
|
@ -0,0 +1,244 @@
|
||||||
|
senses:
|
||||||
|
- descr: A creature with darkvision or greater darkvision can see perfectly well in
|
||||||
|
areas of darkness and dim light, though such vision is in black and white only.
|
||||||
|
Some forms of magical darkness, such as a 4th-level *darkness* spell, block normal
|
||||||
|
darkvision. A creature with greater darkvision, however, can see through even
|
||||||
|
these forms of magical darkness.
|
||||||
|
name: Darkvision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 465
|
||||||
|
page_stop: 465
|
||||||
|
- descr: You can see in dim light as though it were bright light, and you ignore the
|
||||||
|
concealed condition due to dim light.
|
||||||
|
name: Low-Light Vision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 465
|
||||||
|
page_stop: 465
|
||||||
|
- descr: Your eyes are sharp, allowing you to make out small details about concealed
|
||||||
|
or even invisible creatures that others might miss. You gain a +2 circumstance
|
||||||
|
bonus when using the Seek action to find hidden or undetected creatures within
|
||||||
|
30 feet of you. When you target an opponent that is concealed from you or hidden
|
||||||
|
from you, reduce the DC of the flat check to 3 for a concealed target or 9 for
|
||||||
|
a hidden one.
|
||||||
|
name: Keen Eyes
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 51
|
||||||
|
page_stop: 51
|
||||||
|
- descr: No special vision.
|
||||||
|
name: None
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: You can see perfectly in smoky conditions
|
||||||
|
name: Smoke Vision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This monster can see in all directions simultaneously, and therefore can’t
|
||||||
|
be flanked.
|
||||||
|
name: All-Around Vision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 342
|
||||||
|
page_stop: 342
|
||||||
|
- descr: This creature can see perfectly well in snowy conditions. this creature does
|
||||||
|
not suffer any penalties to Perception checks while in snow.
|
||||||
|
name: Snow Vision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO (can not find any definition ref:https://2e.aonprd.com/Monsters.aspx?ID=249)
|
||||||
|
name: Manifold Vision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: A creature with darkvision or greater darkvision can see perfectly well in
|
||||||
|
areas of darkness and dim light, though such vision is in black and white only.
|
||||||
|
Some forms of magical darkness, such as a 4th-level *darkness* spell, block normal
|
||||||
|
darkvision. A creature with greater darkvision, however, can see through even
|
||||||
|
these forms of magical darkness.
|
||||||
|
name: Greater Darkvision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 465
|
||||||
|
page_stop: 465
|
||||||
|
- descr: TODO Bestiary 1 pg 344
|
||||||
|
name: Scent
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 465
|
||||||
|
page_stop: 465
|
||||||
|
- descr: You can perceive the world by creating high-pitched noises and listening
|
||||||
|
to their echoes. This gives you blindsight to a range of 40 feet.
|
||||||
|
name: Echolocation
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO CRB 465 or Bestiary 344
|
||||||
|
name: Tremorsense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 465
|
||||||
|
page_stop: 465
|
||||||
|
- descr: Creatures with light blindness are blinded for 1 round if exposed to bright
|
||||||
|
light, such as sunlight or the Daylight spell. Such creatures are dazzled as long
|
||||||
|
as they remain in areas of bright light.
|
||||||
|
name: Lightblindness
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: You automatically detect and locate conscious creatures within 60 feet, as
|
||||||
|
if you possessed the blindsight ability.
|
||||||
|
name: Thoughtsense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This creature has the scent universal monster ability, but only for purposes
|
||||||
|
of detecting and pinpointing injured creatures (below full hit points). Creatures
|
||||||
|
below half their full hit points or suffering bleed damage are considered strong
|
||||||
|
scents for this ability.
|
||||||
|
name: Bloodscent
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO Bestiary 343
|
||||||
|
name: Lifesense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO find definiton for plaguesense. Senses sickness??
|
||||||
|
name: Plaguesense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This creature can sense the presence of any crystals or gems within 30 feet
|
||||||
|
as if using the scent ability.
|
||||||
|
name: Crystalsense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This creature can see perfectly in foggy conditions
|
||||||
|
name: Fogvision
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This sense allows a monster to feel vibrations caused by movement through
|
||||||
|
a liquid. It’s an imprecise sense with a limited range (listed in the ability).
|
||||||
|
Wavesense functions only if monster and the subject are in the same body of liquid,
|
||||||
|
and only if the subject is moving through the liquid.
|
||||||
|
name: Wavesense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO
|
||||||
|
name: Sporesight
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This creature senses vibrations in the air.
|
||||||
|
name: Windsense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO
|
||||||
|
name: Motionsense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This creature has the scent universal monster ability but it can smell only
|
||||||
|
metals using it.
|
||||||
|
name: Metalscent
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: Hungersense allows the gimmerling to sense creatures that require food to
|
||||||
|
live.
|
||||||
|
name: Hungersense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: A voidworm can anticipate the most likely presence of a creature through
|
||||||
|
a supernatural insight into chaotic probabilities and chance. This grants it the
|
||||||
|
ability to sense creatures within the listed range. A creature under the effects
|
||||||
|
of nondetection or that is otherwise shielded from divinations and predictions
|
||||||
|
cannot be noticed via entropy sense.
|
||||||
|
name: Entropysense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: TODO
|
||||||
|
name: Websense
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: Heatsight is a precise sense that sees heat signatures.
|
||||||
|
name: Heatsight
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: This creature has scent against creatures whose nature reflects it's sin.
|
||||||
|
For example, wrathful sinspawn can scent creatures using rage effects. The GM
|
||||||
|
should adjudicate what creatures a particular sinspawn can scent.
|
||||||
|
name: Sinscent
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
comment: TODO fix the source page start and stop
|
||||||
|
page_start: 9999999
|
||||||
|
page_stop: 9999999
|
||||||
|
- descr: null
|
||||||
|
name: Detect Alignment (chaotic only)
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 8
|
||||||
|
page_stop: 8
|
||||||
|
- descr: null
|
||||||
|
name: Locate Inevitable
|
||||||
|
source:
|
||||||
|
abbr: CRB
|
||||||
|
page_start: 8
|
||||||
|
page_stop: 8
|
Loading…
Reference in New Issue