Added caco plush to menu and made it use spawnflags.
This commit is contained in:
parent
d69894f406
commit
960895e24c
5
TODO.md
5
TODO.md
@ -6,9 +6,12 @@
|
|||||||
- ~~Fix wiring kit brightmaps~~
|
- ~~Fix wiring kit brightmaps~~
|
||||||
|
|
||||||
- Caco plush
|
- Caco plush
|
||||||
|
- ~~Caco plush spawnflags~~
|
||||||
|
- ~~Add caco plush to menu~~
|
||||||
- Caco plush documentation
|
- Caco plush documentation
|
||||||
- Caco plush spawnflags
|
|
||||||
- Brightmaps for caco plush
|
- Brightmaps for caco plush
|
||||||
|
- Set actual chance for caco plush spawn
|
||||||
|
|
||||||
- Organize source_data
|
- Organize source_data
|
||||||
|
|
||||||
|
- Fix upper/lowercase consistency between objects
|
||||||
|
@ -9,5 +9,6 @@ OptionMenu "SnekTechMenu"
|
|||||||
StaticText "----- Item Spawns -----", "Teal"
|
StaticText "----- Item Spawns -----", "Teal"
|
||||||
FlagOption "Gretchen Counter", "snektech_spawnflags", "YesNo", 0
|
FlagOption "Gretchen Counter", "snektech_spawnflags", "YesNo", 0
|
||||||
FlagOption "Wiring Bypass Kit", "snektech_spawnflags", "YesNo", 1
|
FlagOption "Wiring Bypass Kit", "snektech_spawnflags", "YesNo", 1
|
||||||
|
FlagOption "Cacodemon Plushie", "snektech_spawnflags", "YesNo", 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
enum SnekTechSpawnFlags
|
enum SnekTechSpawnFlags
|
||||||
{
|
{
|
||||||
SNEKTECH_GRETCHENCOUNTER = 0,
|
SNEKTECH_GRETCHENCOUNTER = 0,
|
||||||
SNEKTECH_JUMPERCABLES = 1
|
SNEKTECH_JUMPERCABLES = 1,
|
||||||
|
SNEKTECH_CACOPLUSHIE = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
class SnekTechEventHandler : EventHandler
|
class SnekTechEventHandler : EventHandler
|
||||||
@ -67,6 +68,11 @@ class SnekTechEventHandler : EventHandler
|
|||||||
e.Thing,
|
e.Thing,
|
||||||
SNEKTECH_JUMPERCABLES,
|
SNEKTECH_JUMPERCABLES,
|
||||||
"JumperCablesUsable");
|
"JumperCablesUsable");
|
||||||
|
|
||||||
|
DoSnekTechBackpackSpawnCheck(
|
||||||
|
e.Thing,
|
||||||
|
SNEKTECH_CACOPLUSHIE,
|
||||||
|
"KiriCacodemonPlushie");
|
||||||
}
|
}
|
||||||
|
|
||||||
override void CheckReplacement(ReplaceEvent e)
|
override void CheckReplacement(ReplaceEvent e)
|
||||||
@ -87,6 +93,12 @@ class SnekTechEventHandler : EventHandler
|
|||||||
DoSnekTechReplacement(
|
DoSnekTechReplacement(
|
||||||
SNEKTECH_JUMPERCABLES,
|
SNEKTECH_JUMPERCABLES,
|
||||||
"Allmap", "JumperCablesUsable",
|
"Allmap", "JumperCablesUsable",
|
||||||
|
12, e);
|
||||||
|
|
||||||
|
DoSnekTechReplacement(
|
||||||
|
SNEKTECH_CACOPLUSHIE,
|
||||||
|
"BlurSphere", "KiriCacodemonPlushie",
|
||||||
|
// FIXME: Chance.
|
||||||
256, e);
|
256, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user