Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Husks and Lucky creatures in the arena  (Read 2985 times)

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Husks and Lucky creatures in the arena
« on: September 03, 2012, 01:06:03 am »

This is the code for a raw file that should be compatible with other mods. It adds Husks and unusually lucky creatures to the options available under "u" when adding arena creatures (existing options are vampire, cursed, etc.)

Code: (interaction_test.txt) [Select]
interaction_test

[OBJECT:INTERACTION]

[INTERACTION:ARENA_LUCKY]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Lucky]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:lucky:lucky:lucky]
[CE_SKILL_ROLL_ADJUST:PERC:900:PERC_ON:100:START:0]

[INTERACTION:ARENA_HUSK]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Husk]
[SYNDROME]
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0]
[CE_DISPLAY_NAME:NAME:husk:husks:husk]
[CE_SPEED_CHANGE:SPEED_PERC:60:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:300:1000:TOUGHNESS:300:1000:START:0]
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:STERILE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0]
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:LIKES_FIGHTING:MISCHIEVOUS:START:0]

Original husk idea and some code came from http://www.bay12forums.com/smf/index.php?topic=101438.msg3132094#msg3132094

Now you can have the arena husk battles that you've always wanted! Husks are based off extracted raw files from save games.

The lucky creatures exploit the code for the mummy's curse to make all of their dice rolls more successful, instead of less. They essentially automatically succeed at anything that requires a skill roll. This doesn't protect them from random things, or from things that don't check skill.

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Husks and Lucky creatures in the arena
« Reply #1 on: September 03, 2012, 01:09:43 am »

Very interesting.
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress