Commit Graph

1795 Commits

Author SHA1 Message Date
spookerton
ffba11e5ab rename a bunch of atom flags 2022-10-18 09:36:41 +01:00
spookerton
bb472b4832 replace 0 for EMPTY_BITFIELD on atom_flags configs 2022-10-18 09:36:40 +01:00
spookerton
9c1dc82109 add turf_flags, move relevant stuff to it
moves *_BITFIELD macros to _macros.dm
2022-10-18 09:36:40 +01:00
spookerton
3abdbbaa1c replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
2022-10-18 09:36:36 +01:00
spookerton
c57fc12be2 powder returns initialize hints + powder refactor 2022-10-15 15:01:35 +01:00
Cerebulon
575a27edcb Firefighting gear 2022-10-09 20:02:54 +01:00
MistakeNot4892
38361e5a5f Drake sap/reagent processing tweaks. 2022-08-27 19:25:48 +10:00
MistakeNot4892
68a209597c Reagent transfer to a mob is split up into a type proc. 2022-08-27 16:06:14 +10:00
MistakeNot4892
b36de76c15 Adjusting chems/nutrition for drakes. 2022-08-27 15:48:40 +10:00
MistakeNot4892
d272f4fa30 Adding some generalized reagent processing for animals. 2022-08-27 14:21:08 +10:00
C.L
a62e7f3ea7 Makes topical OD do damage.
- Makes Topical reagents that have the "can_overdose_touch" variable set to true properly cause OD effects. https://i.imgur.com/JY5YVHW.png

The bug was the code went:
"Overdose amount? alright. OD volume high enough? Alright." which was good.
And then it got to the last segment of the code.
"Alright, so, this is in parenthesis.
Is it not applied via touch (It is applied via touch, meaning this is false!) AND also set so that it doesn't have can_overdose_touch? (Chems that can cause OD via touch has this set to true, meaning this, also, returned false!)"

By changing this && to a || and making it check if the reagent _does_ have the "can_overdose_touch" variable, it has fixed the bug.
2022-08-24 01:15:25 -04:00
Greenjoe12345
c0a490ac01 conk rete (#8671)
* concrete

* fixy

* craftable concrete and plasteel rebar

* no map specific children on submaps

* fix

* de-concretes the station
2022-08-07 16:03:49 -08:00
atermonera
2ef35ecd38 Ingested allergens are processed by the amount removed again 2022-07-16 22:26:31 -08:00
Atermonera
a5a9d81445 Merge pull request #8634 from Sypsoti/hyperzinenerf
Nerfs Hyperzine
2022-05-14 11:01:14 -08:00
Sypsoti
50372663e6 hyperzine nerf and hallucinogenic psilocybin 2022-05-10 14:37:05 -05:00
Sypsoti
47bec39758 bartending enhancements 2022-05-09 22:09:22 -05:00
Sypsoti
f102073dcb adds nondrug contraband to loadout 2022-05-03 16:27:36 -05:00
Sypsoti
661b83e61d Drug Expansion (#8575)
* adds drugs and means to make them

* nutmeg sprite and hallucination changes

* adjustments + sounds courtesy of serithi

* nit nack paddy wack
2022-04-29 16:24:16 -08:00
Atermonera
21bd8477c7 Merge pull request #8531 from Spookerton/spkrtn/sys/global-agenda
updates all bare globals to use /global/ semantics, and all shared members to /static/
2022-04-24 19:56:07 -08:00
spookerton
556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +01:00
spookerton
1f3ffc2433 non-flagged, non-complex overlay -> ssoverlays 2022-04-24 07:51:12 +01:00
spookerton
1ccb2df2de trivial 1:1 overlays -> overlay proc changes
NB. In some cases we go from a more complex image() to a single icon_state string and I assume this works for every case but do not care to check because of the sheer scale of extra fiddly effort. Buyer beware, not my code.
2022-04-24 07:50:21 +01:00
atermonera
9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
atermonera
7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
Sypsoti
2774f7dd50 ecstasy to bliss and removes cocaine 2022-04-16 09:24:33 -08:00
Sypsoti
d2a2c3bd16 adjustments 2022-04-16 09:24:33 -08:00
Sypsoti
8e701b70e2 big pharma has given us cocaine and straws 2022-04-16 09:24:32 -08:00
Cerebulon
0c6a827fd2 Lettuce Cook 2022-04-14 21:37:14 +01:00
Sypsoti
57c617d3ad requested changes 2022-04-13 16:46:28 -05:00
Sypsoti
6eb8210190 general sprite fixes + chocolate reagent 2022-04-13 15:00:08 -05:00
Atermonera
83ac485925 Merge pull request #8496 from Spookerton/spkrtn/sys/out-with-the-old-2
remove some obsolete defines
2022-04-02 17:46:13 -08:00
Killian
e39f24b49e Allergen CE Conversion (#8431)
* WIP allergen conversion

* allergen CE conversion

* allergen CE conversion

inap now actually stops reactions properly

* add brute/burn allergen reactions

* recommended changes
2022-04-02 17:28:25 -08:00
atermonera
35dbabff5d Revert "Reagent Geysers, Pump Fixing, Puddles. (#8268)"
This reverts commit 6996e46ed4.
2022-04-02 15:01:17 -08:00
atermonera
c01ddc44b9 Revert "Fix bugsons and an oversight."
This reverts commit 222a68bcd7.
2022-04-02 14:54:08 -08:00
spookerton
602cc67d2b removed CLAMP define 2022-03-31 19:21:58 +01:00
atermonera
861154df4d Revert "Fixes assorted mining toolspeed uses"
This reverts commit bd236dbdcf.
2022-03-29 16:19:36 -08:00
atermonera
c7f1880394 Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"
This reverts commit 4d8c43f106.
2022-03-29 16:01:32 -08:00
Verkister
d56c7268df fixes puke coating stealing nutriment reagent's id
How do you even miss this and how in the world is the code itself able to miss it too until something messes up a bunch of buns?
2022-03-07 20:45:44 +02:00
Mechoid
222a68bcd7 Fix bugsons and an oversight. 2022-03-04 08:14:24 -08:00
Mechoid
6996e46ed4 Reagent Geysers, Pump Fixing, Puddles. (#8268)
* Reagent Geysers, Pump Fixing, Puddles.

* blah blah blah, CI fixes, linting, requested changes
2022-02-13 20:45:30 -08:00
Atermonera
4d8c43f106 What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning

* Basic tools set tool quality

* Toolspeed is replaced by tool quality checks

* Addresses assorted results from live test

* Extra cleanup
2022-01-16 15:52:55 -08:00
Atermonera
0232be9531 Repaths obj/effect/effect, datum/effect/effect [MDB_IGNORE] (#8312)
* Repaths obj/effect/effect, datum/effect/effect

* linter fixes

* No new

Co-authored-by: Atermonera <forslandm@gmail.com>
2022-01-16 00:14:39 -08:00
MistakeNot4892
2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
Atermonera
2701f6e3b5 Refactors reagent pump code (#8316)
* refactors reagent pump code

* Moves reagent definitions onto turfs

* Various tweaks

* qdel_null on destroy
2021-10-31 12:08:50 -08:00
MistakeNot4892
2226ca7876 Merge pull request #8326 from Atermonera/borg_bucket_drinks
You can't feed drinks to borgs
2021-10-14 17:46:28 +11:00
Schnayy
b1bb5adf78 fixes some drinks 2021-10-08 09:23:27 -05:00
atermonera
b9e63e8b18 Adds can_feed proc 2021-10-07 16:39:04 -08:00
atermonera
0f8ea9dc82 You can't feed drinks to borgs 2021-10-06 22:38:35 -08:00
Mechoid
71e8b0399d Universal Anomalies (#7914)
* Xenoarch
* Map, cleanup.
* Convert to DCS.
* Attack hand, clean up.
* Allows some xenoarch item-finds to become anomalous.
* Reagents now actually trigger effects correctly.
* Anomaly Containers.
* Tweaks and Runtime Fixes.
* Adds visual effects to anomalies.
* Generalizes anomaly creation. "become_anomalous()"
* Modify as per comments. Cleans commented reference code.
2021-09-20 15:25:14 -08:00
Cerebulon
3b7cdc591f Stimulant allergen for Tajaran 2021-09-06 22:51:18 +01:00