Fixes a bunch of bools missed in #11100

This commit is contained in:
Chompstation Bot
2021-07-16 21:12:20 +00:00
parent 1be5570337
commit d0d23ed393
93 changed files with 3291 additions and 195 deletions

View File

@@ -158,14 +158,14 @@
user.visible_message("[user.name] secures [src] to the floor.", \
"You secure the external reinforcing bolts to the floor.", \
"You hear a ratchet.")
src.anchored = 1
src.anchored = TRUE
if(1)
state = 0
playsound(src, W.usesound, 75, 1)
user.visible_message("[user.name] unsecures [src] reinforcing bolts from the floor.", \
"You undo the external reinforcing bolts.", \
"You hear a ratchet.")
src.anchored = 0
src.anchored = FALSE
disconnect_from_network()
if(2)
to_chat(user, "<span class='warning'>\The [src] needs to be unwelded from the floor.</span>")

View File

@@ -111,14 +111,14 @@ field_generator power level display
user.visible_message("[user.name] secures [src.name] to the floor.", \
"You secure the external reinforcing bolts to the floor.", \
"You hear ratchet")
src.anchored = 1
src.anchored = TRUE
if(1)
state = 0
playsound(src, W.usesound, 75, 1)
user.visible_message("[user.name] unsecures [src.name] reinforcing bolts from the floor.", \
"You undo the external reinforcing bolts.", \
"You hear ratchet")
src.anchored = 0
src.anchored = FALSE
if(2)
to_chat(user, "<font color='red'>The [src.name] needs to be unwelded from the floor.</font>")
return

View File

@@ -206,14 +206,14 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
if(0)
if(O.is_wrench())
playsound(src, O.usesound, 75, 1)
src.anchored = 1
src.anchored = TRUE
user.visible_message("[user.name] secures the [src.name] to the floor.", \
"You secure the external bolts.")
temp_state++
if(1)
if(O.is_wrench())
playsound(src, O.usesound, 75, 1)
src.anchored = 0
src.anchored = FALSE
user.visible_message("[user.name] detaches the [src.name] from the floor.", \
"You remove the external bolts.")
temp_state--
@@ -340,14 +340,14 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
if(0)
if(O.is_wrench())
playsound(src, O.usesound, 75, 1)
src.anchored = 1
src.anchored = TRUE
user.visible_message("[user.name] secures the [src.name] to the floor.", \
"You secure the external bolts.")
temp_state++
if(1)
if(O.is_wrench())
playsound(src, O.usesound, 75, 1)
src.anchored = 0
src.anchored = FALSE
user.visible_message("[user.name] detaches the [src.name] from the floor.", \
"You remove the external bolts.")
temp_state--