Merge pull request #257 from sheepishgoat/mobility-implant

Mobility implant
This commit is contained in:
evilew
2024-09-05 15:13:46 +02:00
committed by GitHub
7 changed files with 38 additions and 2 deletions

View File

@@ -230,6 +230,7 @@
#define TRAIT_NO_BUCKLE "no_buckle"
#define TRAIT_DOCILE "docile"
#define TRAIT_LIVESTOCK "livestock"
#define TRAIT_NO_FAT_SLOWDOWN "no_fat_slowdown"
// common trait sources
#define TRAIT_GENERIC "generic"

View File

@@ -1893,7 +1893,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
// Hyperstation 13: Mood now influences action speed.
if(H.fatness) // GS13
if(H.fatness && !HAS_TRAIT(H, TRAIT_NO_FAT_SLOWDOWN)) // GS13
var/fatness_delay = (H.fatness / FATNESS_DIVISOR)
if(H.fatness < FATNESS_LEVEL_BARELYMOBILE)
fatness_delay = fatness_delay - flight