Commit Graph

1140 Commits

Author SHA1 Message Date
MistakeNot4892
14c125f41d Added unit test to ensure emote key uniqueness. 2021-06-07 00:16:58 +10:00
MarinaGryphon
5dc47dd3ed Adds unit test for invalid recipes (#8119)
* Adds invalid recipe unit test

Checks for:
- Missing result type
- Result type is not /atom/movable (mob or obj)
- Result quantity unset
- Quantity less than or equal to zero
- Quantity is not an integer

* Update recipe_tests.dm

* adds tests to dme

* dont code at night (remix)

* Update recipe_tests.dm
2021-06-06 00:36:52 -09:00
Atermonera
c033544a62 Merge pull request #8104 from Cerebulon/rocknroll
Adds new rocks + resprites mining outcrops
2021-06-06 02:16:55 -07:00
Atermonera
80d4493e9a Merge pull request #8080 from Atermonera/dbcon_onebuttonfix
Adds admin verb to hopefully fix database connection failures
2021-06-06 00:42:26 -07:00
Mechoid
c690c5febb Adds a graffiti spawner for PoI and general map-making. 2021-06-05 23:20:06 -07:00
Atermonera
5a4cf24ae7 Merge pull request #8109 from Woodratt/05252021_Bitsnbobs
Misc Bits
2021-05-29 11:42:42 -07: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
Woodratt
427729942d Misc items
Misc bits for the new map.

- Another statue sprite.
- Shuttle handrails that can be buckled into.
2021-05-25 12:35:12 -07:00
Cerebulon
e560b51e7d Adds new rocks + resprites mining outcrops 2021-05-24 03:40:06 +01:00
Aronai Sieyes
9cd4a89782 SSpersistence tweaks (#8087)
* Add some 'lossy' smartfridges and options

* Convert persistence to JSON

* Update map_datum to specify persistence levels
2021-05-20 18:50:36 -09:00
klaasjared
1c7d9c4cba Food 4 thought (#8083)
* Adds Everything

* Small error fix

* Edit fix

* Update code/modules/food/food/snacks.dm

Co-authored-by: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>

* Update code/modules/food/food/snacks.dm

Co-authored-by: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>

* Edit Fix

* Vending Machine Fix

* More fixes

Co-authored-by: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>
2021-05-20 18:11:19 -09:00
Neerti
4deffc7186 Ports Nebula's Discord Webhook Integration (#8071)
* Ports Nebula's Discord Webhook Integration

* Forgot the example .json file.
2021-05-12 21:22:25 -09:00
Atermonera
b123a4750b Adds persistent smartfridges for garden products, material sheets (#8042)
* Addsd sheet storage smartfridge
Implements persistent item storage

* Adds persistent produce smartfridge
Repaths smartfridge base type to /produce subtype

* Raises produce cap to 50, per staff meeting
2021-05-12 21:05:04 -09:00
atermonera
368b04b419 Adds admin verb to hopefully fix database connection failures 2021-05-11 21:53:55 -09:00
atermonera
96cb824895 Adds verb to VV global variables 2021-05-09 16:27:03 -09:00
ShadowLarkens
0198ff3fbf Personal Crafting & Dependencies 2021-05-02 18:05:54 -07:00
Cerebulon
322e8a23d0 Brings back old tesh radsuit sprites, adds 'fitted' version. (#7995)
* Brings back old tesh radsuit sprites, adds 'fitted' version.

* removed superfluous fitted grondsprite

* Conflicts with teshari path changes resolved
2021-04-26 08:27:18 -09: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
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
MistakeNot4892
2b48ef76c8 Ported the Nebula emote system. 2021-03-27 10:24:14 +11:00
MistakeNot4892
a9537638bf Repathed/renamed seromi to teshari. 2021-03-23 09:14:55 +11:00
Killian
47d2c55157 New ID Card Design (#7815)
* citcard port

* card component redundancy reduction

* Update id_stacks.dm

* more variants? more variants

* new ver.

* cleanup, fixes, couple of new elements

* begone, PRS

* minor updates

reorganized dmi, made color naming consistent, added some missing stripes/pips

* updated headstrips, pips, and static cards for readability
2021-03-21 17:27:22 -09:00
Atermonera
63580fc569 Merge pull request #7956 from MistakeNot4892/poppy
Ported Poppy the possum.
2021-03-17 23:10:12 -09:00
MistakeNot4892
92c6bead11 Added recon and cargo platforms. 2021-03-13 13:24:28 +11:00
MistakeNot4892
783b4825b0 Ported Poppy the possum. 2021-03-13 13:19:01 +11:00
Schnayy
a81f2b0526 Merge pull request #7849 from Greenjoe12345/teshchair
Adds some new wheelchair types
2021-03-09 00:13:07 -06:00
Atermonera
e9971715c0 Merge pull request #7953 from MistakeNot4892/fixes2
Fixed/generalized loadout implants.
2021-03-07 23:03:40 -08:00
MistakeNot4892
47dc760585 Fixed/generalized loadout implants. 2021-03-06 22:29:00 +11:00
MistakeNot4892
abe54462ca Minor wheelchair refactor. 2021-03-04 08:16:20 +11:00
MistakeNot4892
34a11eac03 Added a GPS compass. 2021-03-04 07:03:19 +11:00
Mechoid
8dc04048ed Adds the Restraining Bolt. (#7820)
* Adds the Restraining Bolt.

* Malfunction.
2021-02-28 14:02:12 -09:00
Schnayy
031f8a7392 Merge pull request #7919 from Atermonera/point_defense_targeting
Hybridizes Point Defense Turrets with Bay's System
2021-02-26 09:04:43 -06:00
Schnayy
ebc5263546 Merge pull request #7920 from Atermonera/ping_verb_fix
Removes ping subsystem that was breaking chat
2021-02-26 08:58:53 -06:00
Atermonera
6cb047103c Merge pull request #7917 from MistakeNot4892/psched
Deletes the process scheduler.
2021-02-23 14:22:13 -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
atermonera
be11829f87 Removes ping subsystem that was breaking chat 2021-02-22 20:01:33 -09:00
Aronai Sieyes
8b63a5a116 Merge pull request #7083 from VOREStation/vplk-pointdefense
Port Point Defense Batteries
# Conflicts:
#	code/_global_vars/lists/misc.dm
2021-02-22 14:00:43 -09:00
MistakeNot4892
cb883ec78a Deletes the process scheduler. 2021-02-22 08:57:29 +11:00
Cerebulon
d0b71c8c52 Lobby Improvements (#7856)
* Lobby Improvements

* HTML Tags + more recent article while I'm in here bc this may take a day or two 2 merge

* Removed to_world + fixed header
2021-02-21 12:32:38 -09: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
Mechoid
d191485825 R-UST rises again. (#7835)
* Fixfix the RUST

* TRUE FALSE
2021-02-19 22:01:47 -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
Greenjoe12345
4b4814523e Adds a small electric wheelchair 2021-02-04 03:07:40 +00:00
Cerebulon
5de691cd71 aaand weird dme conflict fix 2021-01-29 11:03:50 +00:00
Cerebulon
69ff88497a resolved food.dmi conflict 2021-01-29 10:58:56 +00:00
Cerebulon
aa22ef3ef7 Every Food Fix 2021-01-29 10:46:10 +00:00
Atermonera
f7fec4fd67 Ports ping verb from /tg/ (#7837)
* Ports ping verb from /tg/

* Adds non-versioned files

* Removes old flag
2021-01-26 22:31:26 -08:00
Mechoid
95ea4f6f2d Mech Appearance Update (#7818)
* Mechs are now properly scaled. Also fixes the FUCKING taur sprites.

* What
2021-01-24 10:18:05 -09:00
Mechoid
bd9f63a97a Gadgets & Gizmos (#7786)
* Adds various objects for explorers / antagonists.

* T A G S

* Mend
2021-01-14 21:53:39 -09:00
Mechoid
dd7b484386 Exclusive does not exist. Seemingly un-needed? 2021-01-12 15:59:37 -08:00