mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[MIRROR] Firelance Can No Longer Be Used When Out of Charge (#8011)
* Adds a Return Value (#61221) The firelance's afterattack() proc now actually returns after notifying the user it ran out of battery * Firelance Can No Longer Be Used When Out of Charge Co-authored-by: Beatrice <83368538+SpaceDragon00@users.noreply.github.com>
This commit is contained in:
@@ -167,6 +167,7 @@ GLOBAL_LIST_INIT(adventure_loot_generator_index,generate_generator_index())
|
||||
return
|
||||
if(!cell.use(charge_per_use))
|
||||
to_chat(user,span_warning("[src] battery ran dry!"))
|
||||
return
|
||||
ADD_TRAIT(user,TRAIT_IMMOBILIZED,src)
|
||||
to_chat(user,span_notice("You begin to charge [src]"))
|
||||
inhand_icon_state = "firelance_charging"
|
||||
|
||||
Reference in New Issue
Block a user