Commit Graph

550 Commits

Author SHA1 Message Date
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
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
Rykka
192d01ee5b Fixes 6 year old bug with icon filepaths being override in update_icon
Specific to mining turfs, but I imagine others might have this.
The reason we don't directly pull from 'icon' is to allow turf making folk to have some fun to play with it, make the icon change only on update, etc.

If preferred, icon_path var can just be set to grab the turf's base icon path, but I prefer the var imo.
2022-04-10 11:08:36 -06: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
Mechoid
4780b1efe5 Planetary Meteors (#8422)
* Begins work on Planetary meteors

* Work, clean meteor code.

* Continues work. Meteors now handle their own movement and launching.

* New meteor types, some added to waves. Large meteor type fully implemented.

* Fix and adjust for comments.
2022-04-02 17:25:27 -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
Atermonera
1227ec1870 Merge pull request #8453 from Spookerton/spkrtn/fix/drill-the-mud
drills/bombs don't runtime on resourceless turfs
2022-03-20 11:30:57 -08:00
spookerton
8c5315ecfd drills/bombs don't runtime on resourceless turfs 2022-03-19 20:53:55 +00:00
Cerebulon
3a5b038668 Changes Void Opals to Magmellite 2022-03-17 16:16:41 +00:00
atermonera
bd236dbdcf Fixes assorted mining toolspeed uses 2022-01-22 16:31:52 -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
Schnayy
030741d681 fixes stray bugs 2021-09-11 01:28:49 -05:00
MistakeNot4892
4c53eda3b2 General wilderness updates; fixed frostbelle, adjusted scavenging, added some recipes and mushrooms.
Fixes for wilderness commit.
2021-08-17 18:54:37 +10:00
Neerti
6b4ee972dd Fixes Indoor Rain 2021-07-12 14:19:59 -04:00
Ketrai
9932e13f6d Cold cavern tileset. (#8166)
* Adds cold walls & floors

woop

* adds dark ice

weee

* updates snow edges tooo

weee

* adds a temporary ice sand sprite

ver scary

* Fixed a weird one

* But why

* Cleans up footprints

* Adds a brown version of the rock I've made because
2021-07-11 21:00:44 -09:00
Atermonera
959511918c Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable (#8156)
* Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable

* floorbot compiles
2021-06-29 20:28:16 -07:00
Neerti
6782e64891 Adds optional area-based definition for outdoors-ness. (#8155) 2021-06-27 20:46:10 -09: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
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
Atermonera
e7c00701b1 Merge pull request #8074 from Atermonera/unmap_tin
Removes tin for ore generation
2021-05-23 12:39:37 -07:00
Novacat
70170f0dde Allow more than one ore processor (#8072)
* Allow more than one ore processor

Port of https://github.com/VOREStation/VOREStation/pull/10280

* Forgot these files
2021-05-12 21:25:31 -09:00
atermonera
fe0df5c56d Removes tin for ore generation 2021-05-10 22:24:28 -09:00
Atermonera
7534219899 Makes mineral turf ore list static (#8044) 2021-04-27 14:22:29 -07:00
atermonera
9ab4668f98 Moves material stacks to modules/materials
Moves vending machines to modules/economy
Moves metal coins, mint to modules/economy
2021-04-22 14:26:04 -09:00
Hatterhat
8dd8d13e50 rutile is an alloying material (#8014)
* titanium alloy 1

* lemme get uhhhhh webedit
2021-03-30 23:23:55 -09:00
Atermonera
5b6d21a0fd Merge pull request #7964 from Shadow-Quill/Cell-Fixing
Taking cell out of a standing drill now attempts to put it in your hands.
2021-03-10 10:18:52 -09:00
Atermonera
2652a34542 Merge pull request #7955 from FenodyreeAv/MiningScanner
Adds an advanced version of the mining drill scanner.
2021-03-10 09:58:15 -09:00
Shadow Quill
d3e1942d3a Spite-Filled Fixes 2021-03-08 23:32:23 -06:00
Atermonera
6652ddd5dd Merge pull request #7948 from Meghan-Rossi/stacker_fix
Fix stacking machine not stacking most materials
2021-03-07 13:20:05 -08:00
klaasjared
cbac8f95d9 The Deep Scan Device (#7937)
* The Deep Scan Device

adds new ore detector sprite and changes name to better fit the functionality

* Minor Grammatical Change

Removed capitalization of 'deep scan device'
2021-03-07 12:01:54 -09:00
Fenodyree
7e0fa9ffe7 Adds an advanced version of the mining drill scanner.
Advanced scanner can adjust it's scan range and shows exact numbers of ore.

Can be made in R&D or found in technical loot piles.
2021-03-07 14:37:32 +00:00
Meghan-Rossi
e0c7b4286d Fix stacking machine not stacking most materials
🆑
bugfix - Fixed the stacking machine not stacking most materials
/🆑
Tested
2021-03-04 20:10:56 +00: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
Novacat
e47f39ec24 Porting Fixes (#7891)
* Porting Fixes

- Ores now properly initialize
- Spawned in characters now have languages set

* Update ore.dm

* More Hard Delete Fixes

* Fixes compile issue
2021-02-19 22:07:27 -09:00
Mechoid
1de8bc1c40 Industrial Expansion (#7811)
* Begins work on the Industrial expansion, ft hidden Lore

* Removed Painite, Quartz, and Void Opal from generation pending their eventual uses. Recipes modified to use them have been reverted of this use.

Fix Fix.

* Reset map to master.

* Add copper to Robotics, R&D, Engineering, and EVA.
2021-01-27 19:28:13 -09:00
Hatterhat
8c790d91b4 A Thing About Digging Sand and Mineral Processor Speed (#7778)
* sand digging/mineral processor speed squashed

* typo moment + stacker also goes fast

Co-authored-by: Hatterhat <Hatterhat@users.noreply.github.com>
2020-12-21 18:34:40 -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
Meghan-Rossi
9611ae902e Makes wall-mounted machines layer above windows (#7708)
Makes wall-mounted machines layer above windows so that they are clickable if placed on windows
2020-10-16 23:01:39 -07:00
Cyantime
9898fa373e Phoron bore utility improvements (#7680)
* More phoron bore utility

* Path update

* Fix concerns

* Update bore.dm
2020-10-11 20:59:14 -07:00
ShadowLarkens
927c41c7a3 Convert /material to it's correct absolute path /datum/material (#7637) 2020-09-20 02:00:09 -07:00
lbnesquik
d6dcf28b1a Reduce the ore scanner time from 10 to 2 seconds. Same as the mech one. 2020-08-30 22:13:24 +02:00