mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Add the license information (#55678)
Fixes goofs mistake when porting wrestling and adds a notif to hulk swing loop
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/*
|
||||
The contents of this file were originally licensed under CC-BY-NC-SA 3.0 as part of Goonstation(https://ss13.co).
|
||||
However, /tg/station and derivative codebases have been granted the right to use this code under the terms of the AGPL.
|
||||
The original authors are: cogwerks, pistoleer, spyguy, angriestibm, marquesas, and stuntwaffle.
|
||||
If you make a derivative work from this code, you must include this notification header alongside it.
|
||||
*/
|
||||
|
||||
/mob/living/carbon/human/proc/wrestling_help()
|
||||
set name = "Recall Teachings"
|
||||
set desc = "Remember how to wrestle."
|
||||
|
||||
@@ -151,7 +151,13 @@
|
||||
yeeted_person.emote("scream")
|
||||
swing_loop(the_hulk, yeeted_person, 0, original_dir)
|
||||
|
||||
/// For each step of the swinging, with the delay getting shorter along the way. Checks to see we still have them in our grasp at each step.
|
||||
/**
|
||||
* Does the animations for the hulk swing loop
|
||||
*
|
||||
* This code is based in part on the wrestling swing code ported from goon, see [code/datums/martial/wrestling.dm]
|
||||
* credit to: cogwerks, pistoleer, spyguy, angriestibm, marquesas, and stuntwaffle.
|
||||
* For each step of the swinging, with the delay getting shorter along the way. Checks to see we still have them in our grasp at each step.
|
||||
*/
|
||||
/datum/mutation/human/hulk/proc/swing_loop(mob/living/carbon/human/the_hulk, mob/living/carbon/yeeted_person, step, original_dir)
|
||||
if(!yeeted_person || !the_hulk || the_hulk.incapacitated())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user