Commit Graph

566 Commits

Author SHA1 Message Date
MistakeNot4892
e272246877 Collapsing fireplace logic into bonfire. 2024-01-18 22:38:31 +11:00
Mechoid
7dc13d532f Demolishing Mobs (#9264)
* Work on the Bluespace Worm, Again.

Space worms propagate their sprites/tooltips/meat types/segment types from the head back.
Space worms have modified organ lists, only having a brain in their head.

Bluespace worms have a unique sprite done by Sypsoti/Schnayy

Bluespace worms have more xeno-organs in addition.

Bluespace worms convert eaten things to Magmellite, instead of Phoron.

* Target through walls.

Distance traveled when not hitting a solid structure during charge is based on the length of the worm.

Bluespace Worms drop xeno hide.

* can_demolish includes trees and barricades

simplemobs can now actually attack trees

* Truncated version of my Bluespace Worm pr.
Simplemob AI can be permitted to demolish walls, mineral turfs, and other common obstructions.

Simplemob AI can be given vision through walls, to make greater use of wall demolishing.

Spaceworm now has an AI controller with x-ray and demolishing capability to tunnel through rock / into buildings, and a wind-up charge that devours impacted mobs or structures.

* Thermic spiders are demolishers, and able to detect prey through walls.

* Inert.

* Decreased chance for thermic spiders to spawn, matching carriers and webslingers.

* Adjust for continued response & thoughts.

Thermic dropped to only Demolishing by default. Still a barricade buster, not a wallhacker.
Phorogenic bumped to be Demolishing. It's big, purple, and unlikely to care there's a twig in the way of its target.

Thermic now has an xray variant for PoI or adminspawn, similar to carriers having the recursion variant.

* Spiders:
Demolishing Phorogen and Thermic moved to subtypes

AI targeting only loops over range once, typecache manually checked for machines instead of making a new list from range again.

* AI targeting dist check instead of range

== FALSE check is a ! prefix, me.

Worm no longer early returns off its overshoot charge call as it does nothing but end the proc regardless of a successful movement

* Pain in two letters.
2024-01-14 14:10:24 -08:00
ephemeralstoryteller
47c3b1f214 POI - 'Demonpool' Remap (#9279)
* add new, generic decacode crate for POIs

* Update demonpool.dmm

* remove some blood drips, removed brackets

* actually remove the brackets this time

* refactors abandoned crates

-makes loot generating crates a subtype of generic, non loot generating decalock crates for PoI purposes
 -updates code and map files for new nomenclature
2023-12-03 20:41:47 -08:00
atermonera
a8a9054d08 Revert "SSmachines instancing PR (#9080)"
This reverts commit 4889b33cea.
2023-07-23 17:45:10 -08:00
enbyfriend
4889b33cea SSmachines instancing PR (#9080)
* Consistency Pass #1
Power cells of all types are now considered stock parts
Went through materials.dm and did some copy+paste work make material definitions consistent across the codebase (eg "steel" = 50 -> MAT_STEEL = 50)

* Machines are now instances in SSMachines

* Performance improvements by way of instancing all of SSmachines

* Fixes the powersink

* Revert "Consistency Pass #1"

This reverts commit cbeef1b5db.

* Update machines.dm

Styling changes

* Update machines.dm

* Update machines.dm

forgot to update the doc
2023-07-18 22:45:49 -08:00
klorpa
f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
MistakeNot4892
2ab7622a30 Making floor decls use the decl repository. 2023-03-05 14:58:28 +11:00
Atermonera
ab7f5a8c3d Merge pull request #8958 from Cerebulon/mining_sounds
Sounds for fabricators, mining machines, levers
2023-03-04 11:59:46 -08:00
Cerebulon
475a57d8fb Sounds for fabricators, mining machines, levers 2023-02-25 22:54:42 +00:00
Cerebulon
69ba99b5e6 /tg/ era language pass (#8962)
* /tg/ era language pass

* Another pass, more generally inc. code comments

* Even more word tweakies
2023-02-24 23:33:52 -08:00
Mechoid
9aa0e10bc2 Phoron Bore adjustment from Staff Meeting. 2023-02-20 09:41:56 -08:00
spookerton
2a2cd5124e fixed assorted ore bag/box bugs and perf issues
mining satchels automatically collect ore if held in the hands, belt, or suit slot.

pulling an ore box with a satchel collects ore into the ore box instead of the satchel, and empties the satchel if appropriate.

hostile mining drones collect into ore boxes just like people would. Their collection checking view size is smaller.

mining satchels and ore boxes only update their contents hints if examined after it changes, rather than up to once a second regardless of changes.

various doubled messages removed.

removed various dm-land loops in favor of contents addition where it makes sense.
2022-11-27 14:46:38 +00:00
Atermonera
540b5cf648 Merge pull request #8797 from Cerebulon/holloweeb
Halloween Costumes
2022-10-28 15:36:36 -08:00
Cerebulon
e5f251b02c Adds a bunch of halloween costumes, costumes in loadout, costume file sorting 2022-10-25 03:42:19 +01:00
Cerebulon
ed841af4cf Balloon Expansion (Inflation?) 2022-10-24 21:54:22 +01:00
spookerton
4557f8573c atom_flags tests snafu corrections 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
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