Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit e6eaba8

Browse files
committed
TGS Test merge #14709
2 parents fde2eb3 + dae2c7b commit e6eaba8

9 files changed

Lines changed: 828 additions & 2 deletions

File tree

code/__DEFINES/melee.dm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
#define MARTIALART_FLYINGFANG "flying fang"
1313
#define MARTIALART_HUNTERFU "hunterfu"
1414
#define MARTIALART_FRENZYGRAB "frenzy grabbing"
15+
#define MARTIALART_PRETERNISSTEALTH "preternis stealth"
16+
#define MARTIALART_EXPLOSIVEFIST "explosive fist"
17+
#define MARTIALART_GARDENWARFARE "garden warfare"
1518

1619

1720
//Weapon stat defines

code/_onclick/hud/blob_overmind.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@
175175
using = new /obj/screen/blob/RelocateCore()
176176
using.screen_loc = ui_storage2
177177
static_inventory += using
178+

code/datums/martial.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@
209209
/datum/martial_art/proc/on_remove(mob/living/carbon/human/H)
210210
if(help_verb)
211211
remove_verb(H, help_verb)
212-
return
212+
return

code/game/objects/items/granters.dm

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,72 @@
419419
name = "empty scroll"
420420
icon_state = "blankscroll"
421421

422+
/obj/item/book/granter/martial/preternis_stealth
423+
martial = /datum/martial_art/stealth
424+
name = "strange electronic board"
425+
martialname = "Stealth"
426+
desc = "A strange electronic board, containing some sort of software."
427+
greet = "<span class='sciradio'>You have uploaded some combat modules into yourself. Your combos will now have special effects on your enemies, and mostly are not obvious to other people. \
428+
You can check what combos can you do, and their effect by using Refresh Data verb in Combat Modules tab.</span>"
429+
icon = 'icons/obj/module.dmi'
430+
icon_state = "cyborg_upgrade"
431+
remarks = list("Processing data...")
432+
433+
/obj/item/book/granter/martial/preternis_stealth/already_known(mob/user)
434+
if(!ispreternis(user))
435+
to_chat(user, span_warning("You don't understand what to do with this strange electronic device."))
436+
return TRUE
437+
return ..()
438+
439+
/obj/item/book/granter/martial/preternis_stealth/onlearned(mob/living/carbon/user)
440+
..()
441+
if(oneuse == TRUE)
442+
desc = "It looks like it doesn't contain any data no more."
443+
444+
/obj/item/book/granter/martial/garden_warfare
445+
martial = /datum/martial_art/gardern_warfare
446+
name = "mysterious scroll"
447+
martialname = "Garden Warfare"
448+
desc = "A scroll, filled with a tone of text. Looks like it says something about combat and... plants?"
449+
greet = "<span class='sciradio'>You know the martial art of Garden Warfare! Now you control your body better, then other phytosians do, allowing you to extend vines from your body and impale people with splinters. \
450+
You can check what combos can you do, and their effect by using Remember the basics verb in Garden Warfare tab.</span>"
451+
icon = 'icons/obj/wizard.dmi'
452+
icon_state = "scroll2"
453+
remarks = list("I didn't know that my body grows sprinklers...", "I am able to snatch people with vines? Interesting.", "Wow, strangling people is brutal.") ///Kill me please for this cringe
454+
455+
/obj/item/book/granter/martial/garden_warfare/already_known(mob/user)
456+
if(!ispodperson(user))
457+
to_chat(user, span_warning("You see that this scroll says something about natural abilitites of podpeople, but, unfortunately, you are not one of them."))
458+
return TRUE
459+
return ..()
460+
461+
/obj/item/book/granter/martial/garden_warfare/onlearned(mob/living/carbon/user)
462+
..()
463+
if(oneuse == TRUE)
464+
desc = "It's completely blank."
465+
466+
/obj/item/book/granter/martial/explosive_fist
467+
martial = /datum/martial_art/explosive_fist
468+
name = "burnt scroll"
469+
martialname = "Explosive Fist"
470+
desc = "A burnt scroll, that glorifies plasmamen, and also says a lot things of explosions."
471+
greet = "<span class='sciradio'>You know the martial art of Explosive Fist. Now your attacks deal brute and burn damage, while your combos are able to set people on fire, explode them, or all at once. \
472+
You can check what combos can you do, and their effect by using Remember the basics verb in Explosive Fist tab.</span>"
473+
icon = 'icons/obj/wizard.dmi'
474+
icon_state = "scroll2"
475+
remarks = list("Set them on fire...", "Show the punny humans who is here the supreme race...", "Make them burn...", "Explosion are cool!")
476+
477+
/obj/item/book/granter/martial/explosive_fist/already_known(mob/user)
478+
if(!isplasmaman(user))
479+
to_chat(user, span_warning("It says about very dangerous things, that you would prefer not to know."))
480+
return TRUE
481+
return ..()
482+
483+
/obj/item/book/granter/martial/explosive_fist/onlearned(mob/living/carbon/user)
484+
..()
485+
if(oneuse == TRUE)
486+
desc = "It's completely blank."
487+
422488
// I did not include mushpunch's grant, it is not a book and the item does it just fine.
423489

424490

yogstation.dme

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3382,6 +3382,9 @@
33823382
#include "yogstation\code\datums\diseases\advance\symptoms\confusion.dm"
33833383
#include "yogstation\code\datums\diseases\advance\symptoms\heal.dm"
33843384
#include "yogstation\code\datums\looping_sounds\darkspawn.dm"
3385+
#include "yogstation\code\datums\martial\explosive_fist.dm"
3386+
#include "yogstation\code\datums\martial\garden_warfare.dm"
3387+
#include "yogstation\code\datums\martial\stealth.dm"
33853388
#include "yogstation\code\datums\mood_events\generic_positive_events.dm"
33863389
#include "yogstation\code\datums\mutations\alcohol.dm"
33873390
#include "yogstation\code\datums\mutations\extendoarm.dm"

0 commit comments

Comments
 (0)