mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Adds the Holy Skateboard, a holy version of the hoverboard. (#84514)
## About The Pull Request This is my first PR ever, and I have tested it. It just adds an additional nullrod variant that could be helpful for people that wish to explore space as a chaplain, or chaplains that wish to look sick and tubular. ## Why It's Good For The Game More nullrods are better. Also, it's a fun vehicle that i feel allows for more gimmicks as the 540 cr cost for a regular hoverboard is a bit steep. It's not super good, and it's not bad, so I feel it doesn't affect balance too much. ## Changelog 🆑 add: There's a previously undiscovered variant of a nullrod, recently revealed from the depths of the skating rink.. /🆑 <!-- You can use multiple of the same prefix (they're only u https://github.com/tgstation/tgstation/assets/126758839/5c94391d-8a01-40fd-93ec-ea3617ba6a59 sed for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
This commit is contained in:
@@ -762,6 +762,40 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301
|
||||
inhand_icon_state = "hoverboard_nt"
|
||||
board_item_type = /obj/vehicle/ridden/scooter/skateboard/hoverboard/admin
|
||||
|
||||
/obj/item/melee/skateboard/holyboard
|
||||
name = "holy skateboard"
|
||||
desc = "A board blessed by the gods with the power to grind for our sins. Has the initials 'J.C.' on the underside."
|
||||
icon_state = "hoverboard_holy_held"
|
||||
inhand_icon_state = "hoverboard_holy"
|
||||
force = 18
|
||||
throwforce = 6
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
attack_verb_continuous = list("bashes", "crashes", "grinds", "skates")
|
||||
attack_verb_simple = list("bash", "crash", "grind", "skate")
|
||||
board_item_type = /obj/vehicle/ridden/scooter/skateboard/hoverboard/holyboarded
|
||||
|
||||
/obj/item/melee/skateboard/holyboard/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/anti_magic, MAGIC_RESISTANCE|MAGIC_RESISTANCE_HOLY)
|
||||
AddComponent(/datum/component/effect_remover, \
|
||||
success_feedback = "You disrupt the magic of %THEEFFECT with %THEWEAPON.", \
|
||||
success_forcesay = "BEGONE FOUL MAGICKS!!", \
|
||||
tip_text = "Clear rune", \
|
||||
on_clear_callback = CALLBACK(src, PROC_REF(on_cult_rune_removed)), \
|
||||
effects_we_clear = list(/obj/effect/rune, /obj/effect/heretic_rune) \
|
||||
)
|
||||
AddElement(/datum/element/bane, target_type = /mob/living/basic/revenant, damage_multiplier = 0, added_damage = 25, requires_combat_mode = FALSE)
|
||||
|
||||
/obj/item/melee/skateboard/holyboard/proc/on_cult_rune_removed(obj/effect/target, mob/living/user)
|
||||
SIGNAL_HANDLER
|
||||
if(!istype(target, /obj/effect/rune))
|
||||
return
|
||||
|
||||
var/obj/effect/rune/target_rune = target
|
||||
if(target_rune.log_when_erased)
|
||||
user.log_message("erased [target_rune.cultist_name] rune using [src]", LOG_GAME)
|
||||
SSshuttle.shuttle_purchase_requirements_met[SHUTTLE_UNLOCK_NARNAR] = TRUE
|
||||
|
||||
/obj/item/melee/baseball_bat
|
||||
name = "baseball bat"
|
||||
desc = "There ain't a skull in the league that can withstand a swatter."
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
Allows you to behead targets for empowered strikes. \
|
||||
Harms you if you dismiss the scythe without first causing harm to a creature. \
|
||||
The shard also causes you to become Morbid, shifting your interests towards the macabre."
|
||||
rods[/obj/item/melee/skateboard/holyboard] = "A skateboard that grants you flight and anti-magic abilities while ridden. Fits in your bag."
|
||||
AddComponent(/datum/component/subtype_picker, rods, CALLBACK(src, PROC_REF(on_holy_weapon_picked)))
|
||||
|
||||
/obj/item/nullrod/proc/on_holy_weapon_picked(obj/item/nullrod/holy_weapon_type)
|
||||
|
||||
@@ -206,6 +206,21 @@
|
||||
to_chat(rider, span_warning("[src] [p_are()] not powerful enough to fly upwards."))
|
||||
return FALSE
|
||||
|
||||
/obj/vehicle/ridden/scooter/skateboard/hoverboard/holyboarded
|
||||
name = "holy skateboard"
|
||||
desc = "A board blessed by the gods with the power to grind for our sins. Has the initials 'J.C.' on the underside."
|
||||
board_item_type = /obj/item/melee/skateboard/holyboard
|
||||
instability = 3
|
||||
icon_state = "hoverboard_holy"
|
||||
/obj/vehicle/ridden/scooter/skateboard/hoverboard/holyboarded/post_buckle_mob(mob/living/M)
|
||||
M.AddComponent(/datum/component/anti_magic, MAGIC_RESISTANCE|MAGIC_RESISTANCE_HOLY)
|
||||
return ..()
|
||||
|
||||
/obj/vehicle/ridden/scooter/skateboard/hoverboard/holyboarded/post_unbuckle_mob(mob/living/M)
|
||||
if(!has_buckled_mobs())
|
||||
qdel (M.GetComponent(/datum/component/anti_magic, MAGIC_RESISTANCE|MAGIC_RESISTANCE_HOLY))
|
||||
return ..()
|
||||
|
||||
/obj/vehicle/ridden/scooter/skateboard/hoverboard/admin
|
||||
name = "\improper Board Of Directors"
|
||||
desc = "The engineering complexity of a spaceship concentrated inside of a board. Just as expensive, too."
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 79 KiB |
Reference in New Issue
Block a user