Commit Graph

7483 Commits

Author SHA1 Message Date
SkyratBot
d27cd97f74 [MIRROR] [IDB IGNORE] [MDB IGNORE] Makes the icons/mob folder sane [MDB IGNORE] (#16030)
* [IDB IGNORE] [MDB IGNORE] Makes the icons/mob folder sane

* fix map merges

* icon paths and merge conflicts

Co-authored-by: skylord-a52 <skylord-a52@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-09-24 20:10:28 -04:00
SkyratBot
65baf0e4d7 [MIRROR] [MDB IGNORE] Split clothing inhands [MDB IGNORE] (#16052)
* [MDB IGNORE] Split clothing inhands (#69576)

* split clothing inhands

* empty commit

Co-authored-by: tattle <article.disaster@ gmail.com>

* [MDB IGNORE] Split clothing inhands

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: tattle <article.disaster@ gmail.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-24 18:47:14 -04:00
SkyratBot
47a6316b32 [MIRROR] Removes persistence of items through changing species when not allowed to [MDB IGNORE] (#16356)
* Removes persistence of items through changing species when not allowed to

* fixes racist clothing

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-09-24 16:56:35 -04:00
MidoriWroth
15e4828e22 Teshari cultural food (#16138)
* Teshari cultural food

* reorganized some file paths

* made the jerky a little more appetizing

* removed unnecessary text from the teshari food define
2022-09-24 15:38:57 -04:00
SkyratBot
413d862693 [MIRROR] Adds the installed message phrase for voice analyzers to logging (bonus runtime fix) [MDB IGNORE] (#16382)
* Adds the installed message phrase for voice analyzers to logging (bonus runtime fix) (#70066)

* Adds the installed message phrase for voice analyzers to logging

Hey there,

Sometimes, it's CBT to figure out what exactly made a bomb go off, especially when a voice analyzer is involved. Now, when a voice analyzer is involved in TTV Bomb/Grenade explosions (already logged), it will also output the recorded phrase when present.

To do this, I just span up a quick `isvoice()` macro define to ensure that we would get the variable, and it would just append the message that we were already spitting out into logs. I rewrote how grenade logs currently operate a bit, let me know if I accidentally omitted something critical.

* Adds the installed message phrase for voice analyzers to logging (bonus runtime fix)

Co-authored-by: san7890 <the@san7890.com>
2022-09-24 15:35:27 -04:00
SkyratBot
8f697c2a9e [MIRROR] Planks create barricades on doors/windows and can be crowbarred [MDB IGNORE] (#16241)
* Planks create barricades on doors/windows and can be crowbarred (#69676)

* Wooden planks can be used on doors/windows to barricade it, using a can_barricade Element.

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>

* Planks create barricades on doors/windows and can be crowbarred

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@ users.noreply.github.com>
2022-09-23 22:15:11 +01:00
SkyratBot
8c199674ae [MIRROR] Fixes a bunch of cult abilities not working [MDB IGNORE] (#16354)
* Fixes a bunch of cult abilities not working (#70036)

* Fixes a bunch of cult abilities not working

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-09-21 21:00:34 -07:00
SkyratBot
137c202d13 [MIRROR] Fixes charging destroying things they shouldn't [MDB IGNORE] (#16357)
* Fixes charging destroying things they shouldn't (#70044)

* Fixes charging destroying things they shouldn't

Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-09-21 18:01:32 +00:00
SkyratBot
ca52e49d3b [MIRROR] Fixes two status effect related hard deletes [MDB IGNORE] (#16340)
* Fixes two status effect related hard deletes (#70026)

* Fixes two status effect related hard deletes

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2022-09-20 20:51:06 -07:00
SkyratBot
0bbc66b259 [MIRROR] Fixes FOV exploit with gasmasks [MDB IGNORE] (#16343)
* Fixes FOV exploit with gasmasks (#70017)

Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>

* Fixes FOV exploit with gasmasks

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>
2022-09-20 20:50:11 -07:00
SkyratBot
caf72b3bbb [MIRROR] Removes canuserrotate from simple rotation's screentip [MDB IGNORE] (#16333)
* Removes canuserrotate from simple rotation's screentip (#70002)

Removes canuserrotate from rotation context

Removes the check on whether the user can rotate a chair or not, in the screentip context message.
We shouldn't check to see if a person can or can't rotate a chair or not, they will instead get the feedback when they try to rotate it if they fail, but it's better if the screentip let them know it's a mechanic that exists.

* Removes canuserrotate from simple rotation's screentip

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-09-20 07:49:27 -07:00
SkyratBot
ff1acad052 [MIRROR] Fixes async_fire_ranged_attack failing to get target_mob for targeting body zone [MDB IGNORE] (#16328)
* Fixes `async_fire_ranged_attack` failing to get `target_mob` for targeting body zone (#70001)

* fix var missing passed value in fire_ranged_attack, allowing glockroaches to fire again.

* Fixes `async_fire_ranged_attack` failing to get `target_mob` for targeting body zone

Co-authored-by: Sealed101 <75863639+Sealed101@users.noreply.github.com>
2022-09-19 22:17:15 -07:00
SkyratBot
25a6da87e9 [MIRROR] Makes medibeams more resilient to lag [MDB IGNORE] (#16293)
* Makes medibeams more resilient to lag (#69919)

* Makes medibeams more resilient to lag

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-09-17 22:26:57 -07:00
SkyratBot
ea19c86793 [MIRROR] Fix plasma cutter or guns that burn not being able to ignite plasma [MDB IGNORE] (#16244)
* Fix plasma cutter or guns that burn not being able to ignite plasma

* Update plasma.dm

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
2022-09-17 12:44:10 -07:00
SkyratBot
dcf4c2a960 [MIRROR] Fixes voice of god runtime when a target resists the command [MDB IGNORE] (#16264)
* Fixes voice of god runtime when a target resists the command (#69921)

* Fixes voice of god runtime when a target resisted your command and adds a grep to avoid it being a problem again in the future.

* Fixes voice of god runtime when a target resists the command

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-09-17 11:46:05 -07:00
SkyratBot
e68ee147f7 [MIRROR] Fixed USB ports not working [MDB IGNORE] (#16278)
* Fixed USB ports not working (#69920)

Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>

* Fixed USB ports not working

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>
2022-09-17 11:43:55 -07:00
SkyratBot
d56ee7630e [MIRROR] Kills /obj/shapeshift_holder, replaces it with /datum/status_effect/shapechange_mob, also does a lot of Wabbajack refactoring [MDB IGNORE] (#15988)
* Kills `/obj/shapeshift_holder`, replaces it with `/datum/status_effect/shapechange_mob`, also does a lot of Wabbajack refactoring

* Apply suggestions from code review

* fix

* unironically the best solution

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-09-15 22:29:56 -07:00
SkyratBot
cb4f6915d9 [MIRROR] Fixes Bread Smite Causing Some Fucked Up Shit [MDB IGNORE] (#16254)
* Fixes Bread Smite Causing Some Fucked Up Shit (#69853)

* Fixes Bread Smite Causing Some Fucked Up Shit

Hey there,

So basically, when you had the bread smite done on you, you were _just_ added to the contents of the bread. Nothing more. That means that you could pick it up. You couldn't add it to your bag (it would always return back into your hand(?)), but it would create some weird oddities that was just cursed in general. Let's make it so you can't hold the container that you are contained within by giving you HANDS_BLOCKED.

* actually we don't need the named arg

lets get rid of the cursed thing entirely

* removes sanity check

* we do a bit of component trolling

THIS TOOK ME TWO HOURS FUCK YOU

* removes cruft comment

* cleans up code a teeny bit, upgrades to incapacitated

* wait that named arg is still there wtf

* Review Time

Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>

* wrong operator and wrong order of operations

* null out the container

Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* checks to see if container is qdeld

* weakref time

Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* Fixes Bread Smite Causing Some Fucked Up Shit

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
2022-09-15 11:32:16 -07:00
SkyratBot
ce6eab8ee2 [MIRROR] Add Alt RMB and Ctrl RMB screentips (used for Simple Rotation) [MDB IGNORE] (#16251)
* Add Alt RMB and Ctrl RMB screentips (used for Simple Rotation) (#69726)

* Add Alt RMB and Ctrl RMB to screentips

* Add Ctrl and Alt RMB screentips to defines

* Add Alt RMB and Ctrl RMB screentips (used for Simple Rotation)

Co-authored-by: Tim <timothymtorres@gmail.com>
2022-09-15 11:04:19 +01:00
SkyratBot
6c0a166a74 [MIRROR] Slightly rewords customizable reagent holder examine message [MDB IGNORE] (#16219)
* Slightly rewords customizable reagent holder examine message (#69880)

* Slightly rewords customizable reagent holder examine message

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-09-14 20:26:14 -07:00
SkyratBot
9104baaa68 [MIRROR] Verbose Vote Initiation Feedback Tooltippery [MDB IGNORE] (#16216)
* Verbose Vote Initiation Feedback Tooltippery (#69763)

* Verbose Vote Initiation Feedback Tooltippery

Hey there,

So basically, the old implementation had it such that when a vote was disabled and you tried to trigger it, you could get a very nice message in your chat explaining why you could not trigger that vote in that moment. HOWEVER, there's a current fatal flaw in this logic:

You can't ever get that to_chat reason as to _why_ this vote is disabled since you can't click the button. I don't know if this ever worked, which is sad, because we had a lot of these nice messages that one would never see. So, let's leverage the power of TGUI and add messages.

The messages are applied per-datum singleton, and are a generic explanation of what the vote does when there is no specific reason assigned to it when the can_be_initiated() proc runs. If it can not be initiated, we change the message to reflect exactly why the player can not initiate the vote. It ends up looking something like this:

In order for this to work well for the restart vote and to lessen the amount of copy-pasting I might have to do, I created a new proc that checks to see if a valid admin is online, and uses that for both updating the message and restarting the server if the vote clears.

* fixes messages not resetting

* removes misleading section

the admin can always restart the server if they wish

* Verbose Vote Initiation Feedback Tooltippery

Co-authored-by: san7890 <the@san7890.com>
2022-09-13 22:34:10 -07:00
Tom
b85dd9dc9b Adds cat helper, makes cat behaviour more consistent (#16078)
* adds cat helper, makes cat behaviour more consistent

* move trait to positive

* Update modular_skyrat/master_files/code/datums/traits/good.dm

* review

* quirk to neutral
2022-09-13 15:55:30 -04:00
SkyratBot
bd17e1b7e3 [MIRROR] tackle runtime fix [MDB IGNORE] (#16188)
* tackle runtime fix (#69849)

* tackle runtime fix

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-09-13 15:44:42 -04:00
SkyratBot
e72cb14988 [MIRROR] Fixes bileworms being unable to act [MDB IGNORE] (#16199)
* Fixes bileworms being unable to act (#69874)

* Makes bileworm AI use weakrefs for targets

* Apply suggestions from code review

* Update code/datums/ai/basic_mobs/basic_ai_behaviors/try_mob_ability.dm

* question mark

Co-authored-by: ShizCalev <ShizCalev@ users.noreply.github.com>

* Fixes bileworms being unable to act

Co-authored-by: GoblinBackwards <22856555+GoblinBackwards@users.noreply.github.com>
Co-authored-by: ShizCalev <ShizCalev@ users.noreply.github.com>
2022-09-13 15:43:02 -04:00
SkyratBot
40c6558dd6 [MIRROR] Fixes some cases of adjusting wound blood flow to use the hlper [MDB IGNORE] (#16051)
* Fixes some cases of adjusting wound blood flow to use the helper (#69513)

Makes blood flow adjustments use the blood flow adjustment helper.

* Fixes some cases of adjusting wound blood flow to use the hlper

* modular

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-09-11 23:10:37 -07:00
SkyratBot
049b19bb18 [MIRROR] Moves "catch this var/flag" code from obj/init and datum/new into the types that use it [MDB IGNORE] (#16091)
* Moves "catch this var/flag" code from obj/init and datum/new into the types that use it

* Update atoms_movable.dm

* Update airlock.dm

* SRCC

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-09-11 22:21:16 -07:00
SkyratBot
cd3767e043 [MIRROR] Alphabetized, fixed spelling error, clarifying event descriptions. Polish [MDB IGNORE] (#16168)
* Alphabetized, fixed spelling error, clarifying event descriptions. Polish

* l

Co-authored-by: Marina <50789504+KirbyDaMaster@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
2022-09-11 22:20:45 -07:00
SkyratBot
00d7e1f375 [MIRROR] Rocking The Boat, er, Map Vote [MDB IGNORE] (#16083)
* Rocking The Boat, er, Map Vote (#69561)

* Rocking The Boat, er, Map Vote

Hey there,

A while ago, I spooke (typo intentional) to some other people. One frustration I heard was the fact that people would sometimes sneak through map votes during the very start of a shift, during a high-paced portion, or just as a meme. People in OOC would then flood the vote, putting in any given station. However, if a vote happens 10 minutes in- and the round goes for 70 minutes and not many of the original players are around, then it's not particularly fair to those who have to play next shift on a map they bemoan.

So, we can rock the vote! If a player isn't particularly chuffed with the hand they are given, they can poll the players to see if they want to change the map as well. If rocking the vote goes through, huzzah, you get the ability to vote for the map again. If it doesn't go through: tough luck. You can rock the vote one time per shift by default, and server operators can change the amount of times you can call to rock the map vote at their discretion. Calling to rock the vote either successfully or non-successfully counts as a "call", and when that limit is exceeded: no more calls.

Does this mean that we will only rotate between two maps because pissants will keep rocking the vote until they get what they like? Maybe? I still see people bemoan getting Tram or shit the bed over IceBox, but I think enough people get sick of bread-on-butter to take the server where it need to go. If operators don't really like seeing only two maps play, they can always adjust the config to ensure it doesn't happen.

* makes the grammar grammar

it would be "Rock the Vote vote" otherwise

* Rocking The Boat, er, Map Vote

Co-authored-by: san7890 <the@san7890.com>
2022-09-11 20:18:14 -07:00
SkyratBot
4a723eb5d3 [MIRROR] Sleeping Carp deflect works once more [MDB IGNORE] (#16180)
* Sleeping Carp deflect works once more (#69821)

* Actually passes user in can_deflect in sleeping carp, making it work again.

* Sleeping Carp deflect works once more

Co-authored-by: Rhials <Datguy33456@gmail.com>
2022-09-11 19:55:24 -07:00
SkyratBot
d6892bcf9a [MIRROR] Fixes some internal spelling of "auxillary" [MDB IGNORE] (#16162)
* Fixes some internal spelling of "auxillary" (#69789)

Today I tried searching for the code related to the auxillary base location remote.

Today I learned that I didn't know how to spell "auxiliary".

Fortunately, I learned that two other people made this same mistake, so I don't feel stupid.

Searching for other common mispellings of the word didn't show anything, and there are only so many ways to spell it wrong.

* Fixes some internal spelling of "auxillary"

Co-authored-by: Rhials <Datguy33456@gmail.com>
2022-09-11 16:04:25 +01:00
SkyratBot
7559990f20 [MIRROR] [MDB IGNORE] Shuttle engine code improvement and fixes [MDB IGNORE] (#16116)
* [MDB IGNORE] Shuttle engine code improvement and fixes

* what even happened in shuttlepanel.dm

* should be the last few

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
2022-09-10 18:28:57 -04:00
SkyratBot
105bf2d87d [MIRROR] Adds a new revenant spell, Haunt Object, which imbues nearby objects with ghostly energy [MDB IGNORE] (#16012)
* Adds a new revenant spell, Haunt Object, which imbues nearby objects with ghostly energy

* Fixes the merge conflict

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-09-08 17:46:25 +00:00
SkyratBot
949752a87d [MIRROR] Fixed a bug that causes sliced food to have significantly fewer reagents than intended. [MDB IGNORE] (#16130)
* Fixed a bug that causes sliced food to have significantly fewer reagents than intended. (#69733)

* Fixed a bug that causes sliced food to have significantly fewer reagents than intended.

Co-authored-by: lizardqueenlexi <105025397+lizardqueenlexi@users.noreply.github.com>
2022-09-08 17:50:24 +01:00
SkyratBot
ef7894b511 [MIRROR] Logs antagonist datum removal [MDB IGNORE] (#16101)
* Logs antagonist datum removal (#69709)

* Logs antagonist datum loss

Logs antag datum loss

* thank you nova

* Moves log_game to log_message

Changes log_game into log_message for individual logging

* Code review

Removes key_name(src)

Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>

* Second code review

Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>

Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>
Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>

* Logs antagonist datum removal

Co-authored-by: Pepsilawn <reisenrui@gmail.com>
Co-authored-by: tattle <66640614+dragomagol@ users.noreply.github.com>
Co-authored-by: Seth Scherer <supernovaa41@ gmx.com>
2022-09-07 00:57:47 +01:00
SkyratBot
1c9d04d357 [MIRROR] fix xenbio bag [MDB IGNORE] (#16099)
* fix xenbio bag (#69518)

A little earlier, it was gone to use bags of xenobiology on reproductive extracts, but now, after this change, the possibility is completely returned.

* fix xenbio bag

Co-authored-by: Yaroslav Nurkov <78199449+AnywayFarus@users.noreply.github.com>
2022-09-06 18:53:54 +01:00
SkyratBot
877d81e872 [MIRROR] Sleeping Carp users deflect hand spells, CQC users REFLECT hand spells [MDB IGNORE] (#16077)
* Sleeping Carp users deflect hand spells, CQC users REFLECT hand spells (#69540)

* BLOCK AND COUNTER BLOCK AND COUNTER

* Apply suggestions from code review

Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* review

Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* Sleeping Carp users deflect hand spells, CQC users REFLECT hand spells

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
2022-09-05 18:55:05 -04:00
SkyratBot
313cbe36da [MIRROR] Wings and tails give anyone better tackling values. Moths and lizards that lose theirs will have worse values instead. [MDB IGNORE] (#16002)
Wings and tails give anyone better tackling values. Moths and lizards that lose theirs will have worse values instead.

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-09-05 18:00:35 -04:00
SkyratBot
ac8799a46d [MIRROR] Fixes monkey ai runtime [MDB IGNORE] (#15977)
* Fixes monkey ai runtime

* Update code/datums/ai/monkey/monkey_controller.dm

* oops

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-05 13:43:32 -04:00
SkyratBot
c95e382602 [MIRROR] Faxing of unusual objects [MDB IGNORE] (#16059)
* Faxing of unusual objects (#69651)

* Fax machines have a wire panel.
Fax machines can be hacked to allow unusual input, throw their contents on receipt, and be invisible to the network.
Fax machines will accept some additional paper-like items by default.
Fax icons moved to their own file.

* Unpunctuates screentips.
You can send cash now also.

* Removes unnecessary "var".
Adds salami to food list.

* Faxing of unusual objects

Co-authored-by: Jacquerel <hnevard@gmail.com>
2022-09-05 12:58:44 +01:00
SkyratBot
9c546aeeca [MIRROR] Removes-blind_eyes [MDB IGNORE] (#16061)
* Removes-blind_eyes (#69652)

* Removes blind_eyes, replaces it with adjust_blindness.

* Removes-blind_eyes

Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com>
2022-09-05 12:52:52 +01:00
SkyratBot
6f8b19cfa6 [MIRROR] Buffs Heretic Curses, Living Heart, Leeching Walk, and technically Entropic Plume by fixing some bugs [MDB IGNORE] (#15986)
* Buffs Heretic Curses, Living Heart, Leeching Walk, and technically Entropic Plume by fixing some bugs

* resolve conflicts

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-04 19:28:17 +01:00
Tom
0665a601ea 68896 & 69443 (#16031)
Buffs the chilling effects of void heretic powers, fixes void storm visuals not updating, ghouls now have Fakedeath
2022-09-04 15:16:10 +01:00
SkyratBot
d03092ba16 [MIRROR] TGUI for techfabs [MDB IGNORE] (#15941)
* TGUI for techfabs

* Update circuit_imprinter.dm

* update circuit_printer.dm

Co-authored-by: scriptis <scriptif@gmail.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-04 15:08:55 +01:00
SkyratBot
448620c109 [MIRROR] Fixes The human and monkey rudimentary transform commands in the player menu for admins. Makes the change_mob_type() proc more readable. [MDB IGNORE] (#15938)
* Fixes The human and monkey rudimentary transform commands in the player menu for admins. Makes the change_mob_type() proc more readable.

* conflict

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-04 14:29:14 +01:00
SkyratBot
a079b5a864 [MIRROR] Monkey trip mechanic removed from AI controller and added to brain. Adds organ based trait system. [MDB IGNORE] (#15913)
* Monkey trip mechanic removed from AI controller and added to brain. Adds organ based trait system.

* Update code/modules/mob/living/carbon/human/species_types/snail.dm

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-09-04 14:27:46 +01:00
SkyratBot
cbda6ad480 [MIRROR] Fixes some missing signal overrides [MDB IGNORE] (#15994)
* Fixes some missing signal overrides (#69419)

* Fixes some missing signal overrides

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2022-09-04 14:23:06 +01:00
SkyratBot
547b485ac8 [MIRROR] Stray Meteor event, five new special meteors, and another reason to build meteor shields [MDB IGNORE] (#15981)
* Stray Meteor event, five new special meteors, and another reason to build meteor shields (#69550)

Adds the Stray Meteor random event, as well as a few new special meteors to be featured in it (as well as to meteor waves, but to a lesser degree). Other than these special meteors being a part of meteor waves, the meteor wave event itself is unchanged by this new event.

A single meteor is thrown somewhere in the vicinity of the station, accompanied by a brief warning announcement. To make things more interesting, five new special meteor types have been created to accompany the original three (flaming/irradiated/tunguska). The special meteors have been added to the meteor wave pools, but have lesser weight than the standard meteors. Enough about that though...

* Stray Meteor event, five new special meteors, and another reason to build meteor shields

Co-authored-by: Rhials <Datguy33456@gmail.com>
2022-09-04 14:12:57 +01:00
SkyratBot
1e7569e0b6 [MIRROR] Fixes hard-dels related to lua signal handlers [MDB IGNORE] (#15965)
* Fixes hard-dels related to lua signal handlers (#69555)

When I changed the syntax of SS13.lua to account for the ability to properly index tables with datums, it turns out that the callbacks created for signal handlers and timeouts had circular references, resulting in hard-deletes.

My first solution was to make it so signal handler and timeout callbacks use weakrefs, which get resolved in lua_state/call_function, but it turns out that, when calling the signal cleanup function, a qdeleted-but-not-yet-garbage-collected datum's weakref resolves to null because datum.gc_collected is set to GC_CURRENTLY_BEING_QDELETED before COMSIG_PARENT_QDELETING gets sent.

To resolve this issue, Potato and Oranges both recommended that I make a snowflake variant of resolve which ignores whether the datum a weakref points to is qdeleted - only that it is null or it's weakref isn't the very weakref resolve was called on. This proc was given a lengthy autodoc comment describing when it should or shouldn't be used, to ensure it is only used in cases similar to the one I needed to create it for (needing to resolve a weakref to a datum in a COMSIG_PARENT_QDELETING handler registered on that very datum).

* Fixes hard-dels related to lua signal handlers

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
2022-09-04 13:58:36 +01:00
SkyratBot
a11179813b [MIRROR] Cows can eat wheat off the ground. If cows see wheat on the ground, they'll try to go eat it (+ moonicorns with galaxy thistle) [MDB IGNORE] (#15935)
* Cows can eat wheat off the ground. If cows see wheat on the ground, they'll try to go eat it (+ moonicorns with galaxy thistle) (#69253)

About The Pull Request

Cows are now grazers, they love eatin' wheat and it even heals them if hurt. If they see it just on the ground, they might eat it all! Careful, botanists! While tamed, cows won't eat off the ground if they're busy ferrying you around.

FYI: this is going to conflict with #69247 and so thiss should not be merged until that is

Why It's Good For The Game

Wanted to add this with the original port of cows to basic mobs, didn't have the TECH to do so. Now I do, now it's done. I also wanted it ready for the future where mice and rats are ported, so they'd seek out cheese to eat. I also also think it's a neat way for a cow to heal.

* Cows can eat wheat off the ground. If cows see wheat on the ground, they'll try to go eat it (+ moonicorns with galaxy thistle)

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2022-09-04 13:47:13 +01:00
SkyratBot
9c2fa80c9f [MIRROR] Improvement to monkey AI's weapon selection ability. Won't attack With zero force items. [MDB IGNORE] (#15914)
* Improvement to monkey AI's weapon selection ability. Won't attack With zero force items. (#69490)

Monkeys will now drop the item in their hand when selecting a weapon to attack with if it is worse than their basic bite attack, and will avoid picking up a weapon if they can't find one that's better than their basic bite attack.
Because of this, you can no longer completely disable monkeys by filling their hands with zero force items. This also means you can no longer trick monkeys into using sutures and other medical items on you.

* Improvement to monkey AI's weapon selection ability. Won't attack With zero force items.

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
2022-09-04 13:44:22 +01:00