Commit Graph

485 Commits

Author SHA1 Message Date
adacovsk
b30153715d Scoreboard organization/optimization (#32094)
* Scoreboard

* Update next_map.dm

* Update gameticker.dm

* Update role.dm

* ugh

* safe me

* added dat to every proc

* Update scoreboard.dm

* Update scoreboard.dm

* Update department_score.dm

* turfssingulod

* Update misc_score.dm

* Update scoreboard.dm

* Update scoreboard.dm

* Update mobs.dm

* Update items.dm

* Update stunbaton.dm

* Update human_attackhand.dm

* Update living_defense.dm

* Update misc_score.dm

* Update swords_axes_etc.dm

* Update human_attackhand.dm

* Update misc_score.dm

* Update misc_score.dm

* Update scoreboard.dm
2022-02-22 17:39:14 +01:00
kane-f
41b85b444d Reagent addiction/tolerance system, take two (#31994)
* Reagant addiction/tolerance system

* Corn oil one

* More slight effects

* Some code fixes

* Now everything finally works

* Making requested change

* Making var consistent too

* Reagent addiction/tolerance system, take two

* Removing other remnants too

* Making tolerance work on reactions too

Co-authored-by: kanef <kanef9x@protonmail.com>
2022-02-09 18:36:20 -06:00
adacovsk
789a00e9f6 Cuffs (#31961) 2022-02-04 14:56:57 -06:00
Hinaichigo
15c7603524 Grues Revisited (#31687)
* Base of grues.

* Few more updates to grues

* Bit more work on grues.

* Bit more work on grues, namely getting them to evolve and reproduce properly.

* A few additions to gures and also to simple mobs to allow for delayed airlock forcing.
Egg hatching and upgraded stats with every sentient being eaten.

* Few additions to grues including a grue language and gruevision to see in the dark.

* Several changes to grues, including adding their antag roles (still need to be tested/debugged).

* Finalized the base of grues including a nicer-looking grue vision.
Some stuff remains to be tested and debugged.

* Removed obsolete file.

* Updated vgstation.dme with grue additions

* Update vgstation13.dme

* Update grue.dm

* modify .dme

* typo

* remove unneeded variable

* Added gore globs from those eaten by grues that can be cloned or brain extracted. Also fixed some bugs preventing slime puddles from being put in a cloner. Had to generalize a bunch of code in various places to do this (eg. moving certain procs and variable definitions from /mob/living/carbon/ to just /mob/living/)

* Removed gore globs after being eaten by a grue; a head remains by default so it's not needed.
Also debugged slime puddle cloning.

* -grue egglaying is set to a config option
-few modifications to grue antag objectives

* Added changelog and some UI tweaks.

* Update misc_structures.dm

* Update misc_structures.dm

* Juvenile grues can force open doors as well. Also added some more descriptive text upon moulting. Fixed airlock code bug.

* Update grue.dm

* Delete nulllight.ogg

* Fixed up grue sound effects. Renamed humanoid grue to umbra.

* more grue/umbra split stuff

* Update Hinaichigo.yml

* Adult grues can force airlocks open instantly.

* Changed role greet messages from 'danger' to 'warning'.
Explitized empty lists in grue gamemode variables.

* Update grue_egg.dm

* Few fixes to grues.

* Used defines for lifestage checks.
Reverted organ changes and removed an unneeded(?) check from cloner code.

* Migrated grue abilities into spells framework.
Made umbras (humanoids formerly called grues) in the same faction as grues.

* .

* Grue spell icons

* .

* Custom blood and meat colors for mobs.
Grue meat contains a certain substance.

* Removed gore globs.

* .

* Meat coloring + related food unit test fixes.

* Update icons.dm

* Bugfix with custom meat colors.

* .

* Grue abilities panel+sprites.

* .

* Fixed up grue role/objectives.

* .

* Sprite tweak.

* .

* New sfx for moulting and burning in light.

* .

* fixed icon conflict

* .

* icon conflict fix

* More descriptive variable names. A few tweaks to stats.
2022-01-21 10:08:07 +00:00
kane-f
78d4850c81 Allows "peeping" through holes in walls (#31333)
* Peephole branch

* Trying new way to control these walls

* Now works mostly ideally

* Sanity?

* Fixes

* New checks

* Removes control datum altogether, this works much nicer

* Removes control datum altogether, this works much nicer

* Some sanity

* Changes

* Better peep hole icon

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-11-24 10:59:47 -06:00
DamianX
007d533131 Renamed straight jackets to straitjackets (#31255)
* Renamed straight jackets to strait jackets

* renamed strait jacket to straitjacket
2021-11-13 08:54:40 -06:00
DamianX
b8dad0d4c9 allow resisting out of straight jackets (but you can break your arms doing it and broken arms let you do it faster) (#31195)
* allow resisting out of straight jackets

* with blackjack and hookers

* removed arms also help, robotic arms cannot be broken and never help
2021-11-10 17:16:06 -06:00
DamianX
5ac405e766 allow straight jacketed people to resist out of being buckled to a chair (#31188) 2021-11-03 08:15:12 -05:00
DamianX
d4a4ce82d7 Optimized invoke_event (#31046) 2021-10-11 11:56:44 -05:00
DeityLink
da9c22af87 Removes some awfulness from the code (#30850)
* Removes some awfulness from the code

* fixes

* derp

* dangit

* ahhhh

* ok FINE you can have it

* just return a string will you

* at this point I'm just throwing stuff at the wall until something sticks

* ok actually I think I see the problem

* also this is redundant actually
2021-09-23 20:09:03 -05:00
DamianX
4a5f2e40a8 Ported component AI to the new component system (#30751)
* wip new component ai

* wip 2

* he lives

* fixes

* comment
2021-09-22 14:30:47 -05:00
DamianX
c8b31add34 Two random optimizations (#30759)
* There's no need to check those here because use_power already has to

* is_type_in_list with a temporary list is way more expensive than a naive istype loop, make it static
2021-09-15 11:58:13 -05:00
DeityLink
a04a717540 Fixed bleeding players still dripping blood after having been turned to stone (#30664)
* Fixed bleeding players still dripping blood after having been turned to stone.

* Update code/modules/organs/blood.dm

* proper timestop

* better
2021-09-14 15:10:40 -05:00
DamianX
fe77ef6e20 Converted all old events to lazy_events, removed old events, renamed lazy_event to event (#30503)
* wip refactor old events

* refactored events

* We're not lazy anymore! I mean we're still are. We just don't call ourselves that. Lazy is the new default option. It's also the only option. God, this took so long.
2021-09-04 23:21:03 -05:00
DeityLink
d5f41718ff You now take 2 minutes to free yourself from a strange present, up from it being instant. (#30476) 2021-09-03 12:58:29 -05:00
DeityLink
c83bdce177 Fixed being unable to remove handcuffs while in a bear trap (#30415) 2021-09-01 11:24:04 -05:00
kane-f
da528063d7 Refactors effect/effect into effect (#30138)
* Refactors /obj/effect/effect into /obj/effect

* Fixes these

* And these

* And these

* Fixes stuff not being clickable

* Fixes .dme real quick

* Removes now-redundant vars

* This too

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-08-11 15:19:06 -05:00
DeityLink
9757743824 Re-factor butchering drops code (#30139)
* MushroomTeeth

* panda bearpelts

* I can't stop listening to Guilty Gear Strive's opening

* THAT IS BULLSHIT ! BLAZING ! STILL MY HEART IS BLAZING !

* well the test run linter failed for no good reason this time so here's more Dreaming.txt content to celebrate Xenoarch and Xenobio finally graduating as their own job.

* ok that one is on me
2021-08-05 17:33:29 -05:00
DeityLink
842425470f Added a certain admin request (#29782)
* surprise

* fix

* moved to its own file

* I can't into basic math

* warnings

* formalities

* let the gamemode be free

* separation

* gne
2021-06-21 16:16:59 -05:00
Exxion
dba1ca7b0e Revert "Europa lights 2021 (#29551)" (#29851)
This reverts commit 4c25cd6b62.
2021-06-20 22:25:47 +01:00
ShiftyRail
4c25cd6b62 Europa lights 2021 (#29551)
* Mapping changes

* code changes

* conflicts part1

* icons

* wrong remote

* box compiles

* synergy

* fix linter

* review

* Documentation

* Packed mapping

* light tiles? idk

* Metaclub. God there's a lot of lights

* Reduced power costs

* Deff mapping update

* Synergy

* Dam's review

* Damian's review part 2

* linter

* maybe fix schrodinger's lights once and for all?

* the absolute icon_state

* grammar

* nevermind

* review

* gues

* europa lights roidstation (#10)

* Lowfat bagel

* last box touches

* i'm dumb

* klh

Co-authored-by: SonixApache <SonixApache@users.noreply.github.com>
2021-06-20 14:29:59 -05:00
DeityLink
108a9f7295 Standardized damage overlay updates (#29730)
* standard damage overlay updates

* Update vgstation13.dme

* durp
2021-06-12 00:35:39 -05:00
DeityLink
fe6a1ad4c4 Some new Safe loot (#29625)
* safeloot

* fix

* fix

* cleanup

* lazy events
2021-05-30 18:03:21 -05:00
DeityLink
b2751843b1 Players can now properly use the resist verb to get out of a sticky web or blood nail trap. (#29600)
* rooting trap

* fixes

* dafuk?
2021-05-30 14:03:09 -05:00
DeityLink
41d1d6fc39 [Cult 4] Part #5: Astral Journey rework - spooky edition (#29516)
* astrrrr

* raaaaal

* jjj

* ooouuuuu

* rnneeeyyyyy

* astral journey

* yenruoj lartsa

* geez thank god I am such a rigorous QA Tester am I right?

* oh yeah, this takes care of that

* gne gne gne user

* scrapped

* there

* spawnless

* removing the extra linebreaks
2021-05-24 20:58:45 -05:00
adrian
aec18fe8e7 Fixes hulks not being able to resist cuffs while buckled (#29541) 2021-05-21 09:47:13 -05:00
help-maint
9bea4c1a43 Suicide is stored in the mind (#29455) 2021-05-11 08:52:49 -05:00
toomykins
a154e7af38 crit logging (#29178)
* critlog basic

* wow im stupid

* Update damage_procs.dm
2021-04-13 02:41:23 -05:00
Pieter-Jan Briers
ce5e3c744d Admin rejuvenate now re-attaches butt. (#28798)
I cannot believe I coded this.
2021-02-07 00:57:30 -06:00
Pieter-Jan Briers
b726bc4748 Fix admin rejuvenates clearing mutations list. (#28797)
Fixes #28792
2021-02-05 18:13:07 -03:00
DeityLink
858de1ce4d pathogenic cloud optimization (#28344) 2020-12-13 00:44:42 -06:00
Kurfursten
f9a4a89077 Re-Adds Fun (#28230) 2020-11-20 22:49:29 +01:00
gurfan
3c3cceda83 fixes headcrab wierdness (#28139)
* the headcrabthe headcrab

* lethal toys, escaping grasp, ect

* fix examine

* remove that maybe

* sanity

* a

* move that

* and not or
2020-11-13 12:32:04 +01:00
GreatBigFailure
45851c459f Butcher Code Revision (#28040)
* More streamlined corgi gibbing

* Quite possibly made it worse

* Fixed my lies

Co-authored-by: Rubylips <Questionfrog@gmail.com>
2020-11-13 12:21:55 +01:00
gurfan
5e874ff6ef Headhumpers (#27518)
* begin

* cute crabs

* huggr

* zombies!

* wip

* crabify their asses

* fug heads

* sounds, adjustments, speeech

* fixfixfix

* oops

* fug!?!?

* human(oids) only, fool

* fucked it up!

* inshallah, brother

* no more unnecessarying nulls

* move it

* revert damage buff

* fix couple bugs, add escape behavior

* immediately escape

* fix

* fix bugs, adjust behavior

* Update facehugger.dm

* HOLY fucK

* holy fug

* O O OO O O O

* fIXFIIFIIXF FIX

* oops

* Update code/modules/mob/living/carbon/alien/special/facehugger.dm

Co-authored-by: adrian <artii.ftw@hotmail.com>

* modify returns for attach

* consistency

* Update code/modules/mob/living/carbon/alien/special/facehugger.dm

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

* examine fix attempt

* remove unneeded check

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

* remove 2 uneeded checks

* formatting

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

* tarrget cant be null

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

* loc wont be null

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

* fix indent

* oops

* dont attach, clear target

* typo

* decrease in case of fuckup

Co-authored-by: gurfan <mahimahi6272@gmail.com>
Co-authored-by: adrian <artii.ftw@hotmail.com>
Co-authored-by: DamianX <DamianX@users.noreply.github.com>
2020-08-29 14:33:22 -03:00
DamianX
09a73d3c59 Converted a bunch of stuff to the new thing (#27556)
* removed old on_density_change thing

* converted on_resist to lazy events

* Converted on_spellcast to lazy events

* Converted on_uattack to lazy events, breaks spell channeling

* Converted on_ruattack to lazy events, unbreaks channeled spells

* Converted on_logout to lazy events

* Converted on_damaged to lazy_events

* Converted on_death to lazy_events

* Converted on_clickon to lazy_events

* Converted on_attackhand to lazy_events, added on_bumped
2020-08-16 18:53:17 +02:00
DamianX
006cbbe8d5 removed unused events episode 2 attack of the clones (#27271) 2020-08-09 15:19:12 +02:00
DeityLink
622791acf9 Hunting for Cult bugs (#27002)
* thatlldofornow

* derp

* herp

* Update code/datums/gamemode/factions/bloodcult/bloodcult.dm

Co-authored-by: jknpj <jknpjr@gmail.com>

* Update code/datums/gamemode/role/cultist.dm

Co-authored-by: jknpj <jknpjr@gmail.com>

* Update code/datums/gamemode/role/cultist.dm

Co-authored-by: jknpj <jknpjr@gmail.com>

Co-authored-by: jknpj <jknpjr@gmail.com>
2020-07-06 08:00:15 -03:00
DamianX
f5c96279c6 Removed datum pooling (#26992)
* removed pooling

* replace returnToPool with qdel

* did stuff
2020-07-03 19:38:38 -03:00
DamianX
85ff9b697a Fixed a bunch of warnings and errors (#26993)
* renamed implant malfunction defines

* refactored domutation

* possibly fix something about whitelists

* fix admin_memo warning

* fixed wrong attackby parameters in click.dm

* remove superfluous return in BSQL

* maybe fix something in mob/add_language

* maybe fix more language stuff

* Added return-type annotation to job_controller

* removed unreachable code from observer.dm

* possibly fix electrocute_act

* fixed bees wow this code never ran, 100% tested

* fixed parrot life

* fixed wolf attack logs

* fix bear life

* removed unreachable slime/show_inv

* fixed human/electrocute_act

* actually just get rid of this shit

* properly add return types

* removed more returns from BSQL

* added get_organ return type

* fixed infrared holder_movement

* fixed type_instances declaration

* fixed unreacheable overlay/New

* possibly fix release_restraints

* remove hopefully final return from BSQL
2020-07-01 09:46:00 -03:00
DeityLink
d12922fe93 Afflictus Emittus and more (#26657)
* Afflictus Emittus and more

* not true anymore

* that is why you don't code past 3am

* cleaning leftovers and fixing shifty issues

* some polishing

* eye candy

* Fixes
2020-06-02 07:55:37 -03:00
Shifty/Anthomansland
ce635d086a Fix IEDs breaking the fabric of space and time 2020-04-13 15:17:47 +02:00
Exxion
ca7d482f94 Adds tview(), fixes things with pointing (#26180) 2020-04-12 21:09:22 -05:00
boy2mantwicethefam
aeacc9071e stuff (#26042) 2020-04-06 00:51:20 +02:00
Irradiation
4597fcf2ac Adds Barrels (Wooden & Steel)
Sprites courtesy of @Bilgecrank

I started working on these nearly a year ago and gave up. There's a bunch of things I still want to do with them, but I'm too inept code-wise to make them work in a non-retarded manner, so here you go. To make a barrel, you need 20 metal sheets or wooden planks.

Here's the list of things you can do with them currently:
-Use them as cauldrons (You can't bolt them, though)
-Hide in them (Clickdrag yourself to hide, you can also clickdrag others or grab-intent then click the barrel to shove them into it. 3 seconds~ delay to get in)
	-Not sure if I should put a cap of the amount of people that can fit in a barrel att a time.
	-Not sure if I should add a custom description effect if somebody is hiding inside of it.
-Kicking barrels will push them a few tiles away, knocking out everybody out of it if they were inside of it, as well as spilling all its contained chemicals on the floor.

Things I'd like to be able to do eventually with them:
-Set them on fire, a la hobofire. It would radiate light and heat.
	-If it contains volatile fuel, it would explode if lit on fire.
-Make it so strong enough people can pick them up, attack with them or throw them.
-Make it so if the contained reagent volume is high enough, people would start drowning if inside it.
2019-10-31 19:14:14 -04:00
adrian
c32c6fc98b Fixes simple_animals not deleting properly (#24618)
* Fixes simple_animals not deleting properly

* Merging both /mob/living/New()
2019-10-28 11:29:44 -05:00
Kurfursten
3af29a93ba sports strong (#24511) 2019-10-21 10:44:34 -04:00
adrian
d706cc14a8 Fixes unbuckling while unconscious (#24371) 2019-10-05 18:51:17 -04:00
jknpj
adeb3fd3b6 Merge pull request #24051 from Kurfursten/viroexpac
New Disease and Spread Types
2019-09-18 19:46:05 -03:00
Exxion
d3f1b8b14c Fixes a bunch of Destroy() stuff (#24088)
* Fixes a bunch of Destroy() stuff

* This too
2019-09-12 19:30:06 +02:00