Skip to content

Commit

Permalink
Trickwines! Part 2! (#2166)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

A set of 3 new trick wines following the same concepts of the originals!
Prismwine, Forcewine, and Hearthwine!
Also makes trickwines made in a distiller which can only be found on srm
ships
More information about them are here
https://hackmd.io/@1AmYOEuoR22oazvD5KVcDg/rJTEL1DM3

Adds new lovely sprites done by stiel0248
This also fixes a lot of minor issues with the original pr and shifts
the code into separate files!

Also to prevent trickwines from being abused in smoke grenades, smoke is
now separate from TOUCH = method

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review an

![image](https://github.com/shiptest-ss13/Shiptest/assets/86381784/dd8a2582-ba0f-4bcb-ade0-976a9d10e1b8)
d even discourage maintainers from merging your PR! -->

## Why It's Good For The Game

Trickwines are fun!
I love Trickwines!
The new sprites are alot better!
This tweaks em to be harder to obtain makes them more varied and
balanced as well
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
add: 3 new Trickwines! Prism, Hearth, and Force
tweak: tweaked the old Trickwines to be slightly more balanced
add: srm tree and Trickwine distiller
tweak: copy big mortar code to small mortar so you can chose between
grinding and juicing
refactor: splits smoke flags for more control over chemical reactions
server: Blackbox now records more info about chems
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used 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. -->

---------

Signed-off-by: tmtmtl30 <[email protected]>
Signed-off-by: FalloutFalcon <[email protected]>
Co-authored-by: BuildTools <[email protected]>
Co-authored-by: Slashy Slasher <[email protected]>
Co-authored-by: tmtmtl30 <[email protected]>
  • Loading branch information
4 people authored Nov 14, 2023
1 parent 2ccc67d commit f184346
Show file tree
Hide file tree
Showing 37 changed files with 823 additions and 454 deletions.
38 changes: 19 additions & 19 deletions _maps/shuttles/roumain/srm_glaive.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,7 @@
/obj/structure/flora/ausbushes/brflowers,
/obj/structure/flora/ausbushes/sparsegrass,
/obj/item/book/manual/trickwines_4_brewers,
/turf/open/floor/grass{
icon_state = "junglegrass"
},
/turf/open/floor/grass/ship/jungle,
/area/ship/roumain)
"cJ" = (
/obj/structure/cable/orange{
Expand Down Expand Up @@ -255,6 +253,7 @@
"ds" = (
/obj/structure/flora/ausbushes/sparsegrass,
/obj/structure/flora/ausbushes/brflowers,
/obj/item/reagent_containers/food/drinks/breakawayflask,
/turf/open/floor/grass/ship/jungle,
/area/ship/roumain)
"dt" = (
Expand Down Expand Up @@ -726,15 +725,7 @@
/area/ship/engineering/engine)
"jG" = (
/obj/structure/flora/ausbushes/ppflowers,
/obj/structure/flora/tree/jungle{
icon_state = "churchtree";
icon = 'icons/obj/flora/chapeltree.dmi';
randomize_icon = 0;
pixel_x = -16;
pixel_y = 0;
desc = "A sturdy oak tree imported directly from the homeworld of the Montagne who runs the ship it resides on. It is planted in soil from the same place.";
name = "Montagne's Oak"
},
/obj/structure/flora/tree/srm,
/turf/open/floor/grass/ship/jungle,
/area/ship/roumain)
"ko" = (
Expand All @@ -753,6 +744,12 @@
},
/turf/open/floor/wood/maple,
/area/ship/construction)
"lb" = (
/obj/structure/flora/ausbushes/brflowers,
/obj/structure/flora/ausbushes/sparsegrass,
/obj/structure/fermenting_barrel,
/turf/open/floor/grass/ship/jungle,
/area/ship/roumain)
"lf" = (
/obj/structure/cable/orange{
icon_state = "2-8"
Expand Down Expand Up @@ -1680,7 +1677,7 @@
/area/ship/medical)
"At" = (
/obj/effect/decal/cleanable/dirt/dust,
/obj/item/reagent_containers/food/drinks/drinkingglass/breakawayflask/vintageash,
/obj/item/reagent_containers/food/drinks/breakawayflask/vintage/ashwine,
/turf/open/floor/plating{
icon_state = "greenerdirt"
},
Expand Down Expand Up @@ -1776,7 +1773,7 @@
/obj/structure/railing{
dir = 1
},
/obj/item/reagent_containers/food/drinks/drinkingglass/breakawayflask/vintageash,
/obj/item/reagent_containers/food/drinks/breakawayflask/vintage/ashwine,
/turf/open/floor/ship/dirt/dark,
/area/ship/roumain)
"BB" = (
Expand Down Expand Up @@ -2106,6 +2103,7 @@
name = "Body Holofield Switch";
id = "glaive_body_holo"
},
/obj/structure/fermenting_barrel,
/turf/open/floor/grass/ship/jungle,
/area/ship/roumain)
"FA" = (
Expand Down Expand Up @@ -2889,8 +2887,10 @@
/turf/open/floor/plating,
/area/ship/engineering)
"Sl" = (
/obj/structure/fermenting_barrel,
/turf/open/floor/ship/dirt/dark,
/obj/structure/flora/ausbushes/brflowers,
/obj/structure/flora/ausbushes/sparsegrass,
/obj/structure/fermenting_barrel/distiller,
/turf/open/floor/grass/ship/jungle,
/area/ship/roumain)
"Sx" = (
/obj/structure/window/reinforced/spawner{
Expand Down Expand Up @@ -3951,8 +3951,8 @@ Lk
cz
YP
ds
aM
aM
lb
Sl
Fu
wp
wp
Expand Down Expand Up @@ -4177,7 +4177,7 @@ ZE
MZ
qN
NL
Sl
NL
NL
NL
NL
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define VAPOR 3 // foam, spray, blob attack
#define PATCH 4 // patches
#define INJECT 5 // injection

#define SMOKE 6 //smoking

//defines passed through to the on_reagent_change proc
#define DEL_REAGENT 1 // reagent deleted (fully cleared)
Expand Down
16 changes: 15 additions & 1 deletion code/datums/components/crafting/recipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,23 @@

/datum/crafting_recipe/breakawayflask
name = "Breakaway Flask"
result = /obj/item/reagent_containers/food/drinks/drinkingglass/breakawayflask
result = /obj/item/reagent_containers/food/drinks/breakawayflask
time = 5 SECONDS
reqs = list(/obj/item/stack/sheet/glass = 5,
/obj/item/stack/sheet/mineral/plasma = 1)
tools = list(TOOL_WELDER)
category = CAT_MISC

/datum/crafting_recipe/fermenting_barrel
name = "Wooden Barrel"
result = /obj/structure/fermenting_barrel
reqs = list(/obj/item/stack/sheet/mineral/wood = 8)
time = 50
category = CAT_PRIMAL

/datum/crafting_recipe/distiller
name = "Distiller"
result = /obj/structure/fermenting_barrel/distiller
reqs = list(/obj/item/stack/sheet/mineral/wood = 8, /obj/item/stack/sheet/metal = 5, /datum/reagent/srm_bacteria = 30)
time = 50
category = CAT_PRIMAL
4 changes: 0 additions & 4 deletions code/game/MapData/shuttles/srm_glaive.dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@
)
generate_items_inside(items_inside, src)

/obj/structure/flora/tree/chapel/srm
name = "Montagne's Oak"
desc = "A sturdy oak tree imported directly from the homeworld of the Montagne who runs the ship it resides on. It is planted in soil from the same place."

/obj/item/book/manual/srmlore
name = "Notes on the SRM"
icon_state = "book5"
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/effects/effect_system/effects_smoke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@
for(var/atom/movable/AM in T)
if(AM.type == src.type)
continue
reagents.expose(AM, TOUCH, fraction)
reagents.expose(AM, SMOKE, fraction)

reagents.expose(T, TOUCH, fraction)
reagents.expose(T, SMOKE, fraction)
return 1

/obj/effect/particle_effect/smoke/chem/smoke_mob(mob/living/carbon/M)
Expand Down
12 changes: 11 additions & 1 deletion code/game/objects/effects/forcefields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
CanAtmosPass = ATMOS_PASS_DENSITY
var/timeleft = 300 //Set to 0 for permanent forcefields (ugh)

/obj/effect/forcefield/Initialize()
/obj/effect/forcefield/Initialize(mapload, new_timeleft)
. = ..()
//used to change the time for forcewine
if(new_timeleft)
timeleft = new_timeleft
if(timeleft)
QDEL_IN(src, timeleft)

Expand All @@ -36,3 +39,10 @@
name = "invisible blockade"
desc = "You're gonna be here awhile."
timeleft = 600

/obj/effect/forcefield/resin
desc = "It's rapidly decaying!"
name = "resin"
icon_state = "atmos_resin"
CanAtmosPass = ATMOS_PASS_NO
timeleft = 1
40 changes: 34 additions & 6 deletions code/game/objects/items/manuals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
/obj/item/book/manual/trickwines_4_brewers
name = "Trickwines for brewers"
icon_state = "book2"
author = "Baxter Baxter"
author = "Bridget Saint-Baskett"
title = "Trickwines for brewers"
dat = {"<html>
<head>
Expand All @@ -262,7 +262,16 @@
<h2> Breakaway flasks</h2>
Honestly, I love these things. I'm not a scientist so I cant exactly explain how it works but somehow when you fuse plasma into glass it makes it ultra sharp and makes it really good for cracking over fauna heads.<br>
The simplest way I have found of making them is crafting them with a chunk of glass, plasma, and a welder.<br>
I should note: trickwines don't seem to form without flasks. I think it's something to do with the plasma reacting with the mixture.<br>

<h2> Bacteria </h2>
A speical speices of bacteria native to Illestren is what allows Trickwines form.<br>
Now we use a special distiller that keeps just enough bacertia alive to ferment without turning the batch sour.<br>
Now you should still have one on board but if you dont its fine.<br>
It just so happens we have trees on board our ships host to the Bacteria.<br>
To get enough Bacteria your going to need to feed it anything that would help a plant.<br>
Water, Fertilizer, Ashwine are all good options.<br>
Soon it will drops some apples and you can grind them for the bacteria.<br>
Once you have enough you can fabricate it the same way you would a normal barrel.<br>

<h2> Ashwine </h2>
It's kind of our trademark, and it's one of the simplest trickwines to make. The Montagnes love using this stuff in ceremonies as well so it should get you some good boy points.<br>
Expand All @@ -285,11 +294,30 @@
It's a nice upper. Great if you're trying to run away.<br>
This one's really flashy. Expect some severe burns on your target<br>

<br>Baxter Baxter, Senior Brewer<br>
P.S.: please stop asking how the uranium got into those flasks.
<h2> Hearthwine </h2>
I once threw back a flask of this stuff in the heat of a really bad battle and it sealed my wounds within seconds its honestly increadible.<br>
It also acts like the inverse of Icewine heating you up more then a fever.<br>
Last time I threw it at someone though i almost burnt down the forest I was in.<br>
Its made out of ground up fireblossems with some nice hard cider and a bit of welding fuel with of course a ratio of 3:1:1.<br>

</body>
</html>"}
<h2> Forcewine </h2>
I once had a duel with a wizard and and I was able to completly ignore a few of his spells! Its like they just fizzled out when they hit me.<br>
Would recomend for any esoteric senarios even though I have only been in a few of those.<br>
You can also use it to entrap Fauna inside of a forcefield like bubble, Gives you time to breath and laugh at them.<br>
3:1:1 Tequila, Space Montain Wind, and I know its strange but hollow water, Its that stuff you can extract from geysers<br>

<h2> Prismwine </h2>
Gives you a nice shiny layer of armour, fire seems to have alot harder time sticking to me when i tested it.<br>
Throwing it seeems to do the reverse acting like a magnifying glass to burns and lasers<br>
Made 3:1:1 with good ol Gin, then add plasma and tinea luxor which is found from mushroom stems<br>

Some of these can be a bit situatinal but its always nice to have a few in your bag for emergecys.<br>
As a bonus, most of the other factions have no clue how to make these so you can sell them for a fair chunk of cash.<br>

<br>Bridget Saint-Baskett, Senior Brewer<br>

</body>
</html>"}

// Wiki books that are linked to the configured wiki link.

Expand Down
Loading

0 comments on commit f184346

Please sign in to comment.