mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Merge pull request #147 from Fox-McCloud/Movement-Speed-Tweaks
Movement speed tweaks
This commit is contained in:
@@ -53,13 +53,13 @@
|
||||
/mob/living/carbon/alien/humanoid/movement_delay()
|
||||
var/tally = 0
|
||||
if (istype(src, /mob/living/carbon/alien/humanoid/queen))
|
||||
tally += 4
|
||||
tally += 5
|
||||
if (istype(src, /mob/living/carbon/alien/humanoid/drone))
|
||||
tally += 0
|
||||
tally += 1
|
||||
if (istype(src, /mob/living/carbon/alien/humanoid/sentinel))
|
||||
tally += 0
|
||||
tally += 1
|
||||
if (istype(src, /mob/living/carbon/alien/humanoid/hunter))
|
||||
tally = -2 // hunters go supersuperfast
|
||||
tally = -1 // hunters go supersuperfast
|
||||
return (tally + move_delay_add + config.alien_delay)
|
||||
|
||||
/mob/living/carbon/alien/humanoid/Process_Spacemove(var/check_drift = 0)
|
||||
|
||||
@@ -14,13 +14,14 @@
|
||||
if((M_RUN in mutations)) return -1
|
||||
|
||||
var/health_deficiency = (100 - health + staminaloss)
|
||||
|
||||
if(health_deficiency >= 40) tally += (health_deficiency / 25)
|
||||
if(health_deficiency >= 40)
|
||||
tally += (health_deficiency / 25)
|
||||
|
||||
if(halloss >= 10) tally += (halloss / 10)
|
||||
|
||||
var/hungry = (500 - nutrition)/5 // So overeat would be 100 and default level would be 80
|
||||
if (hungry >= 70) tally += hungry/50
|
||||
if (hungry >= 70)
|
||||
tally += hungry/50
|
||||
|
||||
if(wear_suit)
|
||||
tally += wear_suit.slowdown
|
||||
|
||||
@@ -245,14 +245,14 @@
|
||||
if("run")
|
||||
if(mob.drowsyness > 0)
|
||||
move_delay += 6
|
||||
move_delay += 1+config.run_speed
|
||||
move_delay += config.run_speed
|
||||
if("walk")
|
||||
move_delay += 7+config.walk_speed
|
||||
move_delay += config.walk_speed
|
||||
move_delay += mob.movement_delay()
|
||||
|
||||
if(config.Tickcomp)
|
||||
move_delay -= 1.3
|
||||
var/tickcomp = ((1/(world.tick_lag))*1.3)
|
||||
var/tickcomp = (1 / (world.tick_lag)) * 1.3
|
||||
move_delay = move_delay + tickcomp
|
||||
|
||||
if(istype(mob.buckled, /obj/vehicle) || istype(mob.buckled, /obj/structure/stool/bed/chair/cart))
|
||||
|
||||
+1
-1
@@ -167,7 +167,7 @@ var/MAX_EXPLOSION_RANGE = 14
|
||||
|
||||
#define FLOWFRAC 0.99 // fraction of gas transfered per process
|
||||
|
||||
#define SHOES_SLOWDOWN -1.0 // How much shoes slow you down by default. Negative values speed you up
|
||||
#define SHOES_SLOWDOWN 0 // How much shoes slow you down by default. Negative values speed you up
|
||||
|
||||
|
||||
//ITEM INVENTORY SLOT BITMASKS
|
||||
|
||||
@@ -185,10 +185,10 @@ LOAD_JOBS_FROM_TXT
|
||||
## Remove the # to allow special 'Easter-egg' events on special holidays such as seasonal holidays and stuff like 'Talk Like a Pirate Day' :3 YAARRR
|
||||
ALLOW_HOLIDAYS
|
||||
##Defines the ticklag for the world. 0.9 is the normal one, 0.5 is smoother.
|
||||
TICKLAG 0.5
|
||||
TICKLAG 0.9
|
||||
|
||||
## Defines if Tick Compensation is used. It results in a minor slowdown of movement of all mobs, but attempts to result in a level movement speed across all ticks. Recommended if tickrate is lowered.
|
||||
TICKCOMP 1
|
||||
TICKCOMP 0
|
||||
|
||||
## Whether the server will talk to other processes through socket_talk
|
||||
SOCKET_TALK 0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
### HEALTH ###
|
||||
|
||||
## level of health at which a mob becomes unconscious (crit)
|
||||
HEALTH_THRESHOLD_CRIT -0
|
||||
HEALTH_THRESHOLD_CRIT -50
|
||||
|
||||
## level of health at which a mob becomes dead
|
||||
HEALTH_THRESHOLD_DEAD -100
|
||||
@@ -19,7 +19,7 @@ ORGAN_HEALTH_MULTIPLIER 100
|
||||
|
||||
## multiplier which influences how fast organs regenerate naturally
|
||||
## 100 means normal, 50 means half
|
||||
ORGAN_REGENERATION_MULTIPLIER 100
|
||||
ORGAN_REGENERATION_MULTIPLIER 0
|
||||
|
||||
### REVIVAL ###
|
||||
|
||||
@@ -43,7 +43,7 @@ REVIVAL_BRAIN_LIFE -1
|
||||
|
||||
## These modify the run/walk speed of all mobs before the mob-specific modifiers are applied.
|
||||
RUN_SPEED 1
|
||||
WALK_SPEED 3
|
||||
WALK_SPEED 4
|
||||
|
||||
|
||||
## The variables below affect the movement of specific mob types.
|
||||
|
||||
Reference in New Issue
Block a user