Ice Sliding & Signaler code (#17087)

signal and slips

Update floor.dm

Slipping
This commit is contained in:
Cameron Lennox
2025-02-08 14:08:39 -05:00
committed by GitHub
parent 193e5e6eaf
commit 59586cecb3
7 changed files with 94 additions and 36 deletions
@@ -209,6 +209,7 @@
var/has_glowing_eyes = 0 // Whether the eyes are shown above all lighting
var/water_movement = 0 // How much faster or slower the species is in water
var/snow_movement = 0 // How much faster or slower the species is on snow
var/dirtslip = FALSE // If we slip over dirt or not.
var/can_space_freemove = FALSE // Can we freely move in space?
var/can_zero_g_move = FALSE // What about just in zero-g non-space?
@@ -227,6 +228,8 @@
var/vanity_base_fit //when shapeshifting using vanity_copy_to, this allows you to have add something so they can go back to their original species fit
var/mudking = FALSE // If we dirty up tiles quicker
var/vore_belly_default_variant = "H"
// Determines the organs that the species spawns with and
@@ -194,3 +194,9 @@
var_changes = list("bad_swimmer" = 1, "water_movement" = 4, "swim_mult" = 1.25)
varchange_type = TRAIT_VARCHANGE_LESS_BETTER
excludes = list(/datum/trait/positive/good_swimmer)
/datum/trait/negative/slipperydirt
name = "Dirt Vulnerability"
desc = "Even the tiniest particles of dirt give you uneasy footing, even through several layers of footwear."
cost = -5
var_changes = list("dirtslip" = TRUE)
@@ -1216,3 +1216,10 @@
else
input += "s"
return input
/datum/trait/neutral/mudking
name = "Mudking"
desc = "Somehow you are so filthy that tiles get dirty four times as quick from you walking on them."
cost = 0
var_changes = list("mudking" = TRUE)
custom_only = FALSE