Commit Graph

806 Commits

Author SHA1 Message Date
spookerton
ffba11e5ab rename a bunch of atom flags 2022-10-18 09:36:41 +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
Greenjoe12345
3c0aafbfba woodlimb 2022-09-28 03:33:52 +01:00
Spookerton
b39b61687d Merge pull request #8697 from Atermonera/organ-implant-emp
Organs transfer EMPs to their contents
2022-09-01 10:57:53 +01:00
Spookerton
f7605bee65 Merge pull request #8696 from Atermonera/no_clone-modifier-gets-checked
Checks the no_clone modifier stored in DNA records as a path
2022-09-01 10:57:07 +01:00
atermonera
e17df7e68a Organs transfer EMPs to their contents 2022-08-31 22:36:54 -08:00
atermonera
c034848b53 Checks the no_clone modifier stored in DNA records as a path 2022-08-31 21:52:48 -08:00
MistakeNot4892
143078619b Tweaking/adding to drakes and surrounding logic. 2022-08-16 18:36:28 +10:00
MistakeNot4892
dcbf10e28a Added grafadreka.
More work on drakes.

Added grafadreka den site.

Working on refining drake AI.

Fixing drake languages.
2022-08-14 01:26:09 +10:00
MistakeNot4892
994f58e3c5 Playable vox oh no. [MDB IGNORE] (#8674)
* Allowing vox to join as survivalists.

* Adding a crash survivor alt title for survivalist.

* Sideporting vox icons from Bay.

* Updating some vox gear and adjusting vox code for planet spawns.

* Attempting to fix up join checking on latejoin links.

* Crash survivor now loads a pod if it can't find one.

* Nerfs vox cold resistance, they now sit between Tesh and humans.
2022-08-06 23:16:23 -08:00
spookerton
c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01: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
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
spookerton
7eedbedba5 removes some legacy procs, adds some other procs
NUFC

removed add_lspace — unused
removed add_tspace — unused
removed invertHTML — unused
removed hsl2rgb — unimplemented

removed hex2num — replaced with define
removed num2hex — replaced with define
removed add_zero — replaced with pad_left
removed add_zero2 — replaced with pad_left
removes hex2rgb — replaced with behavior of rgb2num()
removes hex2rgb_r — replaced with behavior of rgb2num()
removes hex2rgb_g — replaced with behavior of rgb2num()
removes hex2rgb_b — replaced with behavior of rgb2num()
removes assorted inline list(rgb) > hex — replaced with behavior of rgb()
removes assorted inline rand > hex — replace with random_hex_text

added hex2num define
added num2hex define
added random_hex_text
added generate_padding
added pad_left
added pad_right
2022-04-03 14:19:45 +01:00
spookerton
602cc67d2b removed CLAMP define 2022-03-31 19:21:58 +01: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
Cerebulon
122b75d789 Adds more alien organ sprites (#8442)
* Adds more alien organ sprites

* include skrell file

* Update code/modules/organs/subtypes/tajaran.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

Co-authored-by: Spookerton <spkrtn@pm.me>
2022-03-20 11:22:26 -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
Cerebulon
1327fc1620 New Organ Sprites 2021-08-23 16:44:18 +01:00
MarinaGryphon
593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
MistakeNot4892
3267ae47b7 Tweaks to emote system to avoid memory overhead and make runtime validation easier. 2021-05-30 23:08:24 +10:00
Neerti
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
Novacat
d0e8fba365 Refactors IsSynthetic (#8078)
* Refactors IsSynthetic

Port of https://github.com/VOREStation/VOREStation/pull/10298 by Aronai

* Fixes emote refactor bug
2021-05-12 21:58:45 -09:00
MistakeNot4892
b4632da349 Swaps emote(me) out for custom_emote(). 2021-04-30 16:21:27 +10:00
Atermonera
0c0dcb1738 Oops, I refactored Chemistry! (#8013)
Reorganizes Reagents dir structure
Refactors reactions to /decl
SSChemistry is no longer processing

Optimization isn't so optimized
Updates to distillery
New decl repository methods
Further tweaks
2021-04-20 18:31:49 -09:00
Atermonera
5670946acc Merge pull request #7991 from MistakeNot4892/bird2
Repathed/renamed seromi to teshari.
2021-03-26 10:35:40 -09:00
MistakeNot4892
04f65551cc Deletes unused var. 2021-03-23 11:10:11 +11:00
MistakeNot4892
a9537638bf Repathed/renamed seromi to teshari. 2021-03-23 09:14:55 +11:00
Novacat
e4962d9f9f Fixes Global and Fixes Eyes (#7976)
* Fixes Custom Species Global lists

Basically changing it to a GLOB just had it add all the species into one global variable instead of a proper list.

* Update global_lists.dm

* Fixes Eyes Stuff

* Removes extraneous Vorestation Edits

* Fixes compile issue
2021-03-17 23:50:37 -09:00
MistakeNot4892
826dfa3a6a Small cleanup from init PR. 2021-03-02 18:17:22 +11:00
Mechoid
8dc04048ed Adds the Restraining Bolt. (#7820)
* Adds the Restraining Bolt.

* Malfunction.
2021-02-28 14:02:12 -09:00
Atermonera
ee968a23e8 Merge pull request #7907 from Cerebulon/virgoprosfix
Fixes some fluff weirdness with Virgo-ported prosthetics
2021-02-23 14:17:28 -08:00
Atermonera
c31a3e762f Merge pull request #7905 from MistakeNot4892/beepboop
Added verbs/handling for removing and attaching your own robotic bodyparts.
2021-02-23 14:16:59 -08:00
MistakeNot4892
b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
MistakeNot4892
95d09b4137 Added verbs/handling for removing and attaching your own robotic bodyparts.
Tiny spelling/grammar fix.
2021-02-20 09:33:23 +11:00
Cerebulon
a363b6dd55 Fixes some weirdness with Virgo-ported prosthetics 2021-02-18 20:45:34 +00:00
Verkister
ff847a08aa Makes simplemob braingibs not create brainmobs
Every single simplemob that was gibbed or butchered would spawn a new carbonmob inside their braingib.
2021-02-15 11:30:48 +02:00
Heroman
ab855ca531 Fixes defib timers being 10 times as long as intended. 2021-01-24 09:47:56 +10:00
atermonera
eaefe4155c Fixes facial hair coloring 2020-12-16 18:47:32 -09:00
Mechoid
2018d76cae Department and Round Goals (#7369)
* Baseline work for Department Goals. Implements round-end stats, based in 3 categories of roughly-more-interesting to less interesting.

* Active Goal Separation.

* Map.

* Actually does the second half of this in this PR instead of a different one.
2020-12-11 15:16:47 -09:00
Mechoid
576d0657ce Kaleidoscope 2: The Retabbening (#7697)
* Begins the Project

* Move things to where they belong, if viable.

* Merge and move those files.

* Finish filenames, fix Taj ears.

* Tweak to Ater's Requests

* The Great Mergening with 03_body.

* Per Requests

* Continue per request. Plot nefarious plans to make Saviks usable as battlemounts.

* Smarter Proc Use

* Tweaken
2020-11-19 10:04:09 -08:00
Mechoid
50251d36c6 Fix a Fuckup, simplemobs no longer actually CONTAIN the organs before butchering or gibbing. 2020-11-14 23:51:53 -08:00
Mechoid
68b370be8a Fresh Meat, Leatherworking (#7629)
* Make Butchering more modular. Don't tell the demon lords.

* No guts no glory. That was far more work than expected to get organs to just process and work for butchering holy shit.

* Chitin and hides oh my.

* squeak. ..Why did this not fire on local?

* Squelch.

* Seven cubed livers, for the doctors in their sterile halls.

* Changeling

* Prep for Datums

* Fix Broken Broken Guns

* Redundancy

* F l a g s
2020-11-07 12:06:35 -08:00
atermonera
eadb08bf9f Revert "Kaleidoscope, Toolbox (#7608)"
This reverts commit a68014a9ae.
2020-09-26 11:57:34 -07:00
Atermonera
74318869e3 Merge pull request #7668 from Mechoid/ReagentCyclingCycler
Actually commit the reagent cycler's entire gimmick.
2020-09-21 09:47:42 -07:00