mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Merge pull request #15980 from AffectedArc07/toml-config
[READY] Converts configs to use TOML + Configuration refactor
This commit is contained in:
@@ -235,8 +235,8 @@
|
||||
var/obj/machinery/computer/camera_advanced/xenobio/X = target
|
||||
|
||||
if(GLOB.cameranet.checkTurfVis(remote_eye.loc))
|
||||
if(LAZYLEN(SSmobs.cubemonkeys) >= config.cubemonkeycap)
|
||||
to_chat(owner, "<span class='warning'>Bluespace harmonics prevent the spawning of more than [config.cubemonkeycap] monkeys on the station at one time!</span>")
|
||||
if(LAZYLEN(SSmobs.cubemonkeys) >= GLOB.configuration.general.monkey_cube_cap)
|
||||
to_chat(owner, "<span class='warning'>Bluespace harmonics prevent the spawning of more than [GLOB.configuration.general.monkey_cube_cap] monkeys on the station at one time!</span>")
|
||||
return
|
||||
else if(X.monkeys >= 1)
|
||||
var/mob/living/carbon/human/monkey/food = new /mob/living/carbon/human/monkey(remote_eye.loc)
|
||||
|
||||
@@ -375,7 +375,7 @@
|
||||
|
||||
if(istype(O, /obj/vehicle))
|
||||
var/obj/vehicle/V = O
|
||||
var/vehicle_speed_mod = config.run_speed
|
||||
var/vehicle_speed_mod = GLOB.configuration.movement.base_run_speed
|
||||
if(V.vehicle_move_delay <= vehicle_speed_mod)
|
||||
to_chat(user, "<span class='warning'>[V] can't be made any faster!</span>")
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user