Commit Graph

13590 Commits

Author SHA1 Message Date
Ryll Ryll
c4fa0d4aff Adds mob bleeding overlays, tweaks some bleeding balance (#65371) 2022-03-28 10:24:03 -07:00
John Willard
f18aa6b234 makes bots/gunpowder use boldnotice, makes boldnotice an info message (#65415)
* Improves bot explosion code, adds boldnotice to chat message group
2022-03-28 17:22:26 +02:00
Seth Scherer
f0494e70fd Makes the heretic worm use the blood walk element (#65658)
* Makes the heretic worm use the blood walk element
It was using a custom proc for this, but we have an element just for
this.

* Update code/modules/mob/living/simple_animal/heretic_monsters.dm

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

* dont need this'

* adds an extra arg the to the element to keep direction

* moves da eement

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-03-25 23:08:58 -04:00
LemonInTheDark
19f2df000b Fixes the latejoin menu never closing (#65671)
Reverts 17c603f1d0
Turns out, we had one html menu left. So when tivi removed the proc we
used to close them on join, he broke one.

Someone make this tgui please, thx.
2022-03-25 22:52:34 -04:00
cacogen
5c81de9620 Fixes offering things to yourself (#65659)
- Takes them directly if possible, or prints an error message to the chat (tongue-in-cheek)
- Punches up the give() failure messages
- Adds screentips for headpatting, pulling tails and hugging while I'm there
- Adds a check for a head when headpatting, fixing the ability I presume exists to give headpats to mobs without them
2022-03-25 22:46:23 -04:00
Seth Scherer
3cb3a1a45e Fixes nonhuman head of departments showing up as their original species in security records (#65466)
* Fixes xeno -> human head of departments showing up as their original species in security records
`get_flat_human_icon` was passing preferences which chose their
original, so i added a var to `/datum/species` to check if the species
was forcefully changed

* makes it actually work

* review
2022-03-25 18:33:20 -07:00
John Willard
8c085b22a1 simplifies and fixes bot modes (#65628) 2022-03-24 15:41:11 +01:00
dragomagol
a364ce1e68 [READY] Podperson hair (sprites by Shiets!) (#65205)
Adds 10+ plant based hairstyles for podpeople to use in the form of an external organ.
2022-03-22 16:48:18 -05:00
capsaicinz
75f7c7a69c changes projectile's armor resistance flag to "armor_flag" (#65487)
* IHATEVARIABLES

* removes the face
2022-03-22 17:14:53 -04:00
Mothblocks
0d4f2c1e47 Log filters better (#65539) 2022-03-22 17:08:29 -04:00
Ghilker
e5ed4b3dea Cryocell works with all gases now ; Cryox requires being KOd (#65513)
* refactored cryo

* fixes

* always forget maps

* requested changes, cryoxadone only heal if sleeping
2022-03-22 09:58:45 -04:00
Iamgoofball
e2754e2c0d Fixes the description for the mouse being incredibly rude, judgemental, and insulting towards mice, who are objectively adorable. (#65606)
Fixes the description for the mouse being incredibly rude, judgmental, and insulting towards mice, who are objectively adorable.
Why It's Good For The Game

I mean, just look at these little guys, aren't they just adorable? How can we be so mean to such friendly animals? We're nice to cats, we should be nice to mice too.
2022-03-22 13:39:49 +13:00
Ghom
afad417787 Improved the Art Gallery App and the AI Portrait Picker. Added a search function to them. (#65481)
* Improved the Art Gallery App. Added a search function to it.
2022-03-19 11:33:31 +01:00
cacogen
1ccd016f3e Allows you to offer an item to only one person with Shift+Ctrl+Click (#65441)
You can click someone directly with shift+ctrl+click to offer an item only to them. This is in contrast with pressing G, which offers the item to every adjacent carbon mob.

Also fixes a runtime where the Give screen alert on a potential recipient was trying to remove itself on proximity loss after the Offering status effect had already done it.

Removes duplicate range check on Give screen alert that was causing the runtime as Offering status effect takes care of it.

Also adds a check after clicking the screen alert to take something to make sure we're not dead or incapacitated, so dead people can no longer take things.

Also adds a screentip for this functionality.

Also adds some more checks to give() to make sure we can do it before sending the message to players that we're offering something.
2022-03-19 08:15:51 +00:00
Fikou
5904c7737a shy component now has variables for being shy around keyless and clientless bodies (#65418)
* shy component now has variables for being shy around keyless and clientless bodies

* h
2022-03-17 18:17:51 +08:00
LemonInTheDark
0e904f7032 [MDB IGNORE] Moves non floor turfs off /floor. You can put lattices on lavaland edition (#65504)
About The Pull Request

Alternative to #65354

Ok so like, there was a lot of not floor types on /floor. They didn't actually want any of their parent type's functionality, except maybe reacting to breaking (which was easy to move down) and some other minor stuff.
Part of what we don't want them to have is "plateable" logic.
I should not be able to put floor tiles on the snow and be fine. It's dumb.

Instead, I've moved all non floor types down to a new type, called /misc.

It holds very little logic. Mostly allowing pipes and wires and preventing blob stuff.
It also supports lattice based construction, which is one of the major changes here. I think it makes more sense, and it fixes an assumption in shuttle code that assumed you couldn't place "a new tile" by just hitting some snow with a floor tile.
Oh and lattices don't smooth with asteroid tiles anymore, this looks nicer I think.

Moving on to commits, and minor changes

Changes clf3 to try and burn any turfs it's exposed to, instead of just floors
Moves break_tile down to the turf definition, alongside burn_tile
If you're in basic buildmode and click on anything that's not handled in a targeted way, you just build plating
FUNCTION CHANGE: you can't use cult pylons to convert misc tiles over anymore
Generalizes building floors on top of something into two helper procs on /turf/open, reducing copypasta
Adds a new turf flag, IS_SOLID, that describes if a turf is tangible or not.
Uses this alongside a carpet and open check to replace plating and floor checks in carpet code. This does mean that non iron tiles can be carpeted, but I think that's fine

Moves the /floor update_icon -> update_visuals call to /open
This change is horrificly old, dating back to 8e112f6 but that commit describes nothing about why it was done. Choosing to believe it was a newfriend mistake. Uncomfortable nuking it though, because of just how old it is. Moving down instead

Create a buildable "misc" type off open, moves /dirt onto it
Basically, we want a type we can use to make something support
construction, since that can be a messy bit of logic. Also enough
structure to set things up sanely.

I'm planning on moving most misc turfs onto it, if only because
constructing on a dirt tile with rods should be possible, and the same
applies to most things

Murders captain planet, disentangles /turf/open/floor/grass/snow/basalt

Adds a diggable component that applies the behavior of "digging"
something out from a turf.

Uses it to free the above pain typepath into something a bit more
sensible

The typepaths that aren't actually used by floor tiles are moved onto
/misc

The others are given names that better describe them, and kept in
fancy_floor

Oh and snowshoes don't work on basalt anymore, sorry

Snowed over platings now actually have broken/burned icon states, fixing black holes to nowhere

Misc turfs no longer smooth as floors, so lattices will ignore them

Placing a lattice will no longer scrape the tile it's on

Ok this is a really old one.
I believe this logic is a holdover from kor's baseturf pr
(97990c9)
It used to be that turfs didn't have a concept of "beneath" and instead
just decided what should be under them by induction. This logic of "if
it's being latticed scapeaway to space" made sense then, but has since
been somewhat distorted

We do want to scape away on lattice spawn sometimes, mostly when we're
being destroyed, but not always. We especially don't want to scape away
if someone is just placing a rod, that's dumb.

Adds a path updating script for this change

I've done my best to find all the errors this repathing will pull out, but I may have missed some. I'm sorry.
Why It's Good For The Game

Very old code made better, more consistent turfs for lavaland and icebox, better visuals, minor fix to snowed plating, demon banishment in lattice placement, fixes the icebox mining shuttle not being repairable
Changelog

cl
add: Rather then being tileable with just floor tiles, lavaland turfs, asteroid and snow (among other things) now support lattice -> floor tile construction
fix: Because of the above, you can now properly fix the icebox mining shuttle
refactor: Non floor turfs are no longer typed as floor. This may break things, please yell at me if it does
/cl
2022-03-16 15:55:56 +13:00
capsaicinz
e37729a660 fixes SFX_SHATTER being used in place of explosions (#65460) 2022-03-15 17:26:24 -07:00
John Willard
770ef81a1f makes podpeople call parent (#65362)
About The Pull Request

kinda fucked up that it doesnt.
Also while checking this PR I noticed other species also don't, kinda screwed up world we live in...
Why It's Good For The Game

Parent's spec_life is what checks if you have nobreath, and in which case it will remove all your oxygen damage and, if in crit, give you brute damage instead. Not having this makes you basically not take damage while in crit, which I think shouldn't be the case.
Changelog

cl
fix: Podpeople now take self-respiration into account when taking damage from critical condition, like most other species.
/cl
2022-03-16 11:49:22 +13:00
John Willard
e55bc64429 Makes armsky/pingsky not pAI controllable (#65413)
I assumed they would inherit beepsky removing the flag because I’m stupid.
Why It's Good For The Game

Closes #65406
Changelog

cl
fix: Armsky and Pingsky aren't pAI controllable anymore.
/cl
2022-03-16 10:27:39 +13:00
tralezab
0c305d0c58 Removes Dynamic Hair Suffixes (#65209)
About The Pull Request

Removes Dynamic Hair Suffixes + Included files
Why It's Good For The Game

Facial hair suffixes went unused, @Twaticus and the spriting team are planning something new for hair that is not going to use this horribly underused and just kinda like, bad system
Changelog

not player facing
2022-03-16 10:03:15 +13:00
Wallem
43e79f9d88 Adds the Kheiral Cuffs to the game, a life-saving wrist device (#65253)
They can be bought from the mining vendor for 2750 points.
The Kheiral cuffs act as a suit sensor booster off-station, and don't do anything on-station.

This was originally #65210, but after realizing the potential I scrapped that and jumped on this.

If you die as a miner, your only potential and realistic way of being revived is if someone makes the random decision to ask if you're alright over the comms, decides to do something when you don't respond, and then makes the trip all the way to and from your location of death.
This provides a way to reward miners who worked hard to get their points with a way to possibly get revived in the event of their death, without outright reviving them or something like that.
People will still need to retrieve your body, but at least they'll know you're even dead in the first place.
2022-03-14 21:11:59 -07:00
Tastyfish
10b4727c3c Lets gooses actually retaliate (#65251) 2022-03-14 22:09:31 +11:00
Gandalf
ed06adde60 [MDB IGNORE] 3/4th medkit sprites + firstaid > medkit (#65230)
imageadd: Medkit sprites have now been updated to proper 3/4th perpsective.
2022-03-11 23:44:48 -05:00
John Willard
76f570d68b makes vibebots pAI controllable (#65360) 2022-03-11 18:47:11 -05:00
John Willard
de9a2dc029 Getting shocked helps against heart attacks (#65303) 2022-03-11 18:27:20 -05:00
LemonInTheDark
dc20fa1c8c Changes the default ghost lighting, makes it a preference (#65352)
* Changes the default ghost lighting, makes it a preference

I think the way ghost lighting looks right now is really crummy.
It's dark enough you can see where the shadows should be, but it's just
bright enough for everything to look like dog poo

A lot of what makes the game look nice is the depth of the lighting
and if we just hide that for observers we're shooting ourselves in the
foot.

I'm also making it a game preference, so if someone wants to have bad
opinions they can easily.
2022-03-10 23:11:28 -08:00
GoldenAlpharex
b9f6f0f6ba Restores the Persistent Scars preference (#65358)
* Restores the Persistant Scars preference

I also had to remove some raw READ_FILE()s because that was now useless. I was thus able to remove the persistent_scars variable from the prefs, as it is now a standalone preference.

* I forgor...
2022-03-10 20:02:04 -05:00
Gandalf
684eab3d31 Converts SFX keys into DEFINES (#65146)
About The Pull Request

Simply converts all instances of soundkeys that use get_sfx from strings into defines.

E.g. "sparks" is now SFX_SPARKS
Why It's Good For The Game

It makes life a lot easier when you're looking for a sound effect. You just type SFX_ and you get suggestions in VSC. Plus, it looks better.

image
Changelog

Not player facing.
2022-03-11 10:09:18 +13:00
AtoriBirb
6d2d59c742 Adds "Suspected" to available sec record tags (#65339)
add: A new intermediate tag for sec huds called "Suspected"
2022-03-09 21:46:21 -05:00
Fikou
099c3d2a9f abstract movement now checks for cordon turfs + cordons have NOJAUNT (#65327)
* abstract movement now checks for cordon turfs

* cordons cant be jaunted through
2022-03-08 15:53:41 -08:00
John Willard
a2412945d0 Vibebot code improvement + QoL (#65196)
Continuing my bot code improvement, I've done vibebots now.
I also added an action button for sentient vibebots since they had no way to change their color
And lastly I added a "vibebot" icon state, meaning they actually have an icon state in maps.
2022-03-08 01:12:43 -06:00
MrMelbert
8b7f8ba6a3 Buffs the Silverscale pirates (and their species slightly), and tweaks their shuttle (#65079) 2022-03-07 16:34:57 -07:00
Luc
afc1e44ee2 Tool act superpack 2 (#64428)
About The Pull Request

Continuation of #64375, extracting tool behavior from attackby() and moving it into discrete _act procs. This is about as many files as I had in the last version, as I still want this to be reviewable.

As before, I've tested everything in game and it works as it previously did.
Why It's Good For The Game

The more code moved out of attackby, the more modular things become.
Changelog

cl
refactor: Moves more tool behavior out of attackby().
/cl
2022-03-08 11:43:22 +13:00
LemonInTheDark
6a59d2dd05 Fixes bot trails being invisible, other cleanup (#65304)
Bot trails had a plane of 0, which I think worked before the plane rework, but now just kinda makes them invisible.

I've also ensured they
A: Fade out after the bot crosses them, rather then just flicking away
B: Don't render their first path segment vertical for some strange reason

Oh and I fixed the same invisiblity problem for launchpads too.
Also added railing to jps's directional checking. (This was breaking bots on delta)
I hate dir objects
2022-03-07 19:54:14 +00:00
John Willard
3936229f86 Fixes being able to insert hand emote items (kisses, slappers, etc) into storage (#65169)
Gives hand emote items (kisses, slappers, etc) `TRAIT_NO_STORAGE_INSERT`
Makes evidence bags respect `TRAIT_NO_STORAGE_INSERT`
2022-03-05 19:39:00 -06:00
GoldenAlpharex
fd66e34663 Adds some more options for female outfit cropping (#65256)
Added a few more options for woman clothing auto-cropping, hopefully to help making certain outfits look less scuffed.
2022-03-05 12:45:48 -08:00
John Willard
2d63606b0c Lets cayenne use the nuke (#65268) 2022-03-04 14:54:19 -08:00
John Willard
f12e5e0db2 Sentient elites falling in chasms will no longer spam chests. + code improv. (#65125)
Boosted (Sentient) Lavaland elites had a bit of code where they would spawn certain items
Except if they fall in a chasm first, then mychild would null, causing the code above, spawning the chest, to runtime, and not qdel the elite tumor

This was likely caused by #62540 (dac07b5264)

The fix was easy, I just made it falling in a chasm, call the fight over

Closes #65048
2022-03-04 01:39:17 -08:00
Bond
57153b4d1b Podpeople inherit their blood chemical from the most abundant chemical trait in their seeds (#65215)
Makes podperson clones have their blood reagent set as the largest chemical gene present in the seeds (defaults to water).
2022-03-02 20:52:14 -06:00
Wallem
a605a2176f Restores AI controller for wisdom cow (#65229)
When wisdom cows were swapped to a basic mob, it looks like whoever coded them forgot to give the wisdom cows their AI controller. I fixed that up so now they should spout their bullshit again.
Why It's Good For The Game

Spams the chat like it's suppposed to
Changelog

cl Wallem
fix: We gave the wisdom cow its tongue back. We're sorry.
/cl
2022-03-02 12:58:54 +13:00
Wallem
3bd5a2d8df Makes Ants glow, puts a minimum on ant screaming and shoe permeability, and other ant-related things. (#64786)
I found out how emissives work and my first thought was "damn ants should glow that would look sick"
So now they do.

Also, having less than 5u ants in your body will make you not scream, so 0.0001u ants will no longer have that tiny chance of making someone scream for their life.

If an ant pile has a max damage value less than 1, then they won't be able to bite through your shoes. This is the same threshold as the second tier ant icon.

Makes the giant ant a hostile mob with the neutral faction, meaning they will attack anything not in the neutral faction.
2022-03-01 17:09:53 -06:00
GoblinBackwards
15cfe0b1ec Robotic Basic and Simple mobs now take damage from EMPs (#64752)
Simple/basic mobs with ROBOTIC biotype get damaged by emps
2022-03-01 20:38:34 +01:00
LemonInTheDark
4051ad647e Space drifting fixes and cleanup (#64915)
* Fixes infi pushing off something in space

Right now you can just push "into" a dense object forever, and depending
on your move rate, just kinda glide

We can fix that by checking if we're trying to push "off" something
we're moving towards

* Makes pushing off something shift it instantly

Currently if you kick off something in space it waits the delay of the
move to start drifting. Looks dumb, let's not

* Updates backup movement to properly account for directional windows. GOD I HATE DIRECTIONAL DENSITY SHOOOOOT MEEEEEEEEEEEEEEEEEEE

* Uses range instead of orange so standing on the same tile as a directional counts properly, rather then suddenly entering a drift state. I hate it here

* Ensures all args are named, updates implementations of the proc with the new arg
2022-02-28 19:17:17 -06:00
Fikou
12245dd626 lobstrosities charge now (#65201)
lobstrosities didnt have ranged = TRUE, so they never ran OpenFire, never charging at people
also fixes their charges having less delay than they should, being pretty much instant, now brings it up to what it originally was
2022-02-28 17:17:01 -08:00
Kubisopplay
84274a392a Adds AI voice changer module (#65025)
* Being retarded hurts

Needed to make a new branch cause dumb

* Minor ui change

* Requested changes

* Memory management my beloved

* Lemon said something, this might be better

* Thanks for being patient with me

* Stacktrace begone
2022-02-28 08:00:39 -08:00
MrMelbert
7bb2f0b96c De-hardcodes the species preference pages, deleting the species pages and generating them in constant data on the DM side instead (#65140) 2022-02-26 19:04:34 -08:00
cake xensen
3fcc406e93 reset poly's death streak upon surviving (#65170) 2022-02-26 19:01:10 -08:00
Wallem
782006a07e Updates all storage bag icons (#64978)
imageadd: Changes all storage bag sprites
2022-02-25 16:36:54 -05:00
MrMelbert
85b9e1cf39 Buffs Heretic's Raw Prophet slightly, and gives it a funny lil attack animation (#64905)
Buffed the Raw Prophet's health by 15.
Decreased the sight range of the raw prophet, and allows them to toggle between expanded range and normal range.
Makes Raw Prophets drop their component parts on death, allowing a Heretic to collect and rebuild them.
Also makes all heretic monsters drop gibs on death instead of vanishing.
Raw Prophets now gain an attack bonus for hitting a target consecutively.
2022-02-25 13:28:15 -08:00
Cheshify
a9b7543bb5 Monkeys can no longer spread heart attacks (#65142) 2022-02-25 14:35:30 -05:00