forked from shiptest-ss13/Shiptest
-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Jetpack module, minor system announce spell. Tweaks: smartfridge…
… for blood. (#1210) * Minor station roundstart announce fix * bloodbank in smartfridge can be selected during circuit setting * jetpack upgrade with icons * jetpack upgrade with icons - readme and comment fixes * transfer some changes to modules, deleted blots in icons * jetpack_upgrade without lights * merge conflict resolve * Merge conflict fix, icon path fix * smartfridge var problem fixed * merg conf1 * finally no conflicts * jetpack upgrade1 * jetpack upgrade2 * jetpack upgrade3
- Loading branch information
1 parent
7371d71
commit 746de34
Showing
8 changed files
with
73 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/obj/item/tank/jetpack/suit | ||
name = "hardsuit jetpack upgrade" | ||
desc = "A modular, compact set of thrusters designed to integrate with a hardsuit. It is fueled by a tank inserted into the suit's storage compartment." | ||
icon = 'mod_celadon/fixes/icons/obj/items.dmi' //Changed item icon | ||
icon_state = "jetpack_upgrade" | ||
item_state = "jetpack-black" | ||
w_class = WEIGHT_CLASS_NORMAL | ||
actions_types = list(/datum/action/item_action/toggle_jetpack, /datum/action/item_action/jetpack_stabilization) | ||
volume = 1 | ||
slot_flags = null | ||
gas_type = null | ||
full_speed = FALSE | ||
custom_price = 2000 | ||
|
||
/obj/item/tank/jetpack/suit | ||
name = "hardsuit jetpack upgrade" | ||
desc = "A modular, compact set of thrusters designed to integrate with a hardsuit. It is fueled by a tank inserted into the suit's storage compartment." | ||
icon = 'mod_celadon/fixes/icons/obj/items.dmi' // Changed item icon | ||
icon_state = "jetpack_upgrade" | ||
item_state = "jetpack-black" | ||
w_class = WEIGHT_CLASS_NORMAL | ||
actions_types = list(/datum/action/item_action/toggle_jetpack, /datum/action/item_action/jetpack_stabilization) | ||
volume = 1 | ||
slot_flags = null | ||
gas_type = null | ||
full_speed = FALSE | ||
custom_price = 2000 | ||
|
||
/obj/item/tank/jetpack/suit/turn_on(mob/user) | ||
if(!istype(loc, /obj/item/clothing/suit/space/hardsuit) || !ishuman(loc.loc) || loc.loc != user) | ||
return | ||
var/mob/living/carbon/human/H = user | ||
icon = 'icons/obj/tank.dmi' | ||
icon_state = "jetpack_upgrade-on" | ||
tank = H.s_store | ||
air_contents = tank.air_contents | ||
START_PROCESSING(SSobj, src) | ||
cur_user = user | ||
..() | ||
|
||
/obj/item/tank/jetpack/suit/turn_off(mob/user) | ||
icon = 'icons/obj/tank.dmi' | ||
icon_state = "jetpack_upgrade" | ||
tank = null | ||
air_contents = temp_air_contents | ||
STOP_PROCESSING(SSobj, src) | ||
cur_user = null | ||
..() |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters