mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
(code bounty) refactors all uses of Crossed() and Uncrossed() into signals sent to loc, tracked by connect_loc (#58340)
Co-authored-by: Jared-Fogle <35135081+Mothblocks@users.noreply.github.com> Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
co-authored by
Jared-Fogle
Emmett Gaines
parent
3cabee50b6
commit
08df8798ce
@@ -27,9 +27,8 @@
|
||||
|
||||
var/mob/living/carbon/human/human = allocate(/mob/living/carbon/human)
|
||||
|
||||
hydroponics_tray.loc = run_loc_floor_bottom_left
|
||||
human.loc = hydroponics_tray.loc
|
||||
human.x += 1
|
||||
hydroponics_tray.forceMove(run_loc_floor_bottom_left)
|
||||
human.forceMove(locate((run_loc_floor_bottom_left.x + 1), run_loc_floor_bottom_left.y, run_loc_floor_bottom_left.z))
|
||||
|
||||
// Apples should harvest 10 apples with 10u nutrients and 4u vitamins.
|
||||
test_seed(hydroponics_tray, planted_food_seed, human)
|
||||
@@ -44,7 +43,7 @@
|
||||
seed.set_instability(0) // Sets the seed instability to 0, to prevent mutations.
|
||||
|
||||
tray.myseed = seed
|
||||
seed.loc = tray
|
||||
seed.forceMove(tray)
|
||||
tray.name = tray.myseed ? "[initial(tray.name)] ([tray.myseed.plantname])" : initial(tray.name)
|
||||
|
||||
tray.plant_health = seed.endurance
|
||||
|
||||
Reference in New Issue
Block a user