pink_doom.playsim package¶
Submodules¶
pink_doom.playsim.actions module¶
Listing of all action functions.
pink_doom.playsim.mobj module¶
pink_doom.playsim.mobjflag module¶
Contains just MapObjectFlag, to avoid circular dependencies.
- class pink_doom.playsim.mobjflag.MapObjectFlag(value)[source]¶
Bases:
enum.Flag
Misc. mobj flags.
- AMBUSH = 32¶
Not to be activated by sound, deaf monster.
- CORPSE = 1048576¶
Don’t stop moving halfway off a step.
Have dead bodies slide down all the way.
- COUNTITEM = 8388608¶
On picking up, count this item object towards intermission item total.
- COUNTKILL = 4194304¶
On kill, count this enemy object towards intermission kill total.
Happy gathering.
- DROPOFF = 1024¶
This allows jumps from high places.
- DROPPED = 131072¶
Dropped by a demon, not level spawned.
E.g. ammo clips dropped by dying former humans.
- FLOAT = 16384¶
Allows moves to any height, no gravity.
For active floaters, e.g. cacodemons, pain elementals.
- INFLOAT = 2097152¶
Floating to a height for a move, don’t auto-float to target’s height.
- JUSTATTACKED = 128¶
Will take at least one step before attacking.
- JUSTHIT = 64¶
Will try to attach right back.
- MISSILE = 65536¶
Don’t hit same species, explode on block.
Player missiles as well as fireballs of various kinds.
- NOBLOCKMAP = 16¶
Don’t use the blocklinks (inert but displayable).
- NOBLOOD = 524288¶
Flag: don’t bleed when shot (use puff).
Barrels and shootable furniture shall not bleed.
- NOCLIP = 4096¶
Player cheat.
- NOGRAVITY = 512¶
Don’t apply gravity (every tic), that is, object will float, keeping current height or changing it actively.
- NONE = 0¶
None of the below.
- NOSECTOR = 8¶
Don’t use the sector links (invisible but touchable).
- PICKUP = 2048¶
For players, will pick up items.
- SHADOW = 262144¶
Use fuzzy draw.
E.g. shadow demons (spectres), temporary player invisibility powerup.
- SHOOTABLE = 4¶
Can be hit.
- SKULLFLY = 16777216¶
Special handling: skull in flight.
Neither a cacodemon nor a missile.
- SLIDE = 8192¶
Player: keep info about sliding along walls.
- SOLID = 2¶
Blocks.
- SPAWNCEILING = 256¶
On level spawning (initial position), hang from ceiling instead of standing on floor.
- SPECIAL = 1¶
Call P_SpecialThing when touched.
- TELEPORT = 32768¶
Don’t cross lines or look at heights on teleport.
Module contents¶
Play simulation handling.