Commit Graph

4096 Commits

Author SHA1 Message Date
kevinz000 5b5e1ee577 Third time's the charm - Photography update: 7x7 cameras, photo logging with full metadata, persistent albums and wall frames! (#38944)
* Photography Update

* Pictures logged in their own /data/picture_logs folder rather than normal logs

* Pictures logged in their own /data/picture_logs folder rather than normal logs

* Photos broke, retrying

* Persistence stuff

* I'm almost done I promise!

* Persistence mostly working, compile, etc etc

* Persistence mostly working, compile, etc etc

* Remove something really not needed from the PR

* Prevents duplication

* default to off

* removes check tick

* increase slots in albums to 21

* Allows for singular loading

* Update camera_image_capturing.dm

* Addresses review

* Anturk

* Update camera.dm

* Update misc.dm

* Update datum.dm

* Update camera.dm
2018-08-01 14:52:41 +02:00
Time-Green 3f8dbf2b0b Emitter gun mounts (#39367)
* different guns can be inserted into emitters

* fixes portal gun runtime

* You can now switch type through wires

* makes one line more readable

* Fixes being able to grab nodrop guns from emitters
2018-08-01 09:12:45 +02:00
oranges 823f845fda Merge pull request #39469 from AutomaticFrenzy/patch/vv-sanic
Speed up VV searching
2018-08-01 09:37:49 +12:00
oranges fbaedee150 Merge pull request #39467 from AutomaticFrenzy/patch/fire-immunity
Combine fire immunity suit/helm temperature defines
2018-08-01 09:37:26 +12:00
Militaires 59023c4022 [READY] Agent Stealth Box / Stealth Manual (#39302)
This is a traitor item that allows you to deploy inside box that promptly turns invisible. If the box collides with a living being or vice versa, it will be temporarily revealed, pushing against the box will continue revealing it.

While the box is revealed, clicking on it will open the box as well as destroy it, clicking the action button while the box is deployed also destroys the box. Finally, you can't open airlocks while inside the box, that means you must exit the box > open > wait until cooldown > enter box if you're not a smart agent and wait for someone to open the door before sneaking behind them.

The box can be recognized as of syndicate nature due to a red label on its side.
2018-08-01 09:34:51 +12:00
Nich 5fbca572ab Fix a typo in scrapheap shuttle description (#39480) 2018-07-31 14:30:12 -07:00
bgobandit 7df3ffb4db Fixes various small issues with moodlets; adds one for exercise. (#39437)
Adds a slight positive moodlet for working out, the same effect as reading a book

In the process refactors weight machines so they are actually object oriented, this creates map edits to Delta and Pubby as well as one ruin

Changes the message "Nothing special has happened to me" to something that is hopefully less immersion-demolishing.

Moodlet text for eating disgusting food no longer appears in positive green text
    Other various grammar fixes
2018-07-31 11:15:59 +12:00
Tad Hardesty ee4f00dc82 Speed up VV searching 2018-07-30 02:25:21 -07:00
WJohn c67a698c7e Meta whiteship redesign (#39438)
Redesigned the white ship for metastation, this one's a salvage/cargo vessel!
The salvage pod is currently missing, however, as it doesn't work right now.
I'll add it further down the line. This ship is also filled with a few syndies
protecting it, one of them is ranged, the others are unarmed melee.
2018-07-29 22:37:59 -07:00
Tad Hardesty 52eca1a74f Combine fire immunity suit/helm temperature defines 2018-07-29 22:10:49 -07:00
bgobandit 8f71d71f1e Fix more spelling/grammar (#39450)
self explanatory
2018-07-29 16:19:42 -07:00
Emmett Gaines 26c1031661 Refactors create_mob_hud() to add a signal (#39364)
* Refactors create_mob_hud() to add a signal

and make the mood component use it

* Register for the hud element click

* Observe observer safety
2018-07-29 17:47:16 +12:00
Mickyan 6486a57d81 social anxiety tweaks 2018-07-27 20:30:35 +02:00
oranges f46f5cb0f3 Merge pull request #39306 from ninjanomnom/rad-perf-cleanup
Some performance improvements and cleanup to radiation
2018-07-26 22:53:26 +12:00
Mickyan 42a7948f74 Light Step quirk stops you from leaving footprints (#39339)
* light step doesn't leave footprints

* description
2018-07-25 20:15:59 -04:00
AnturK 69f4fc0dc5 Adds small lavaland ruin (#39307)
* Adds puzzle ruin.

* It's not really unwanted anymore.

* Adds prison cube.
2018-07-25 07:22:51 -04:00
Tad Hardesty 59fa61113f [Ready] Communal Resource Storage II (#39118)
add: The vault now contains an ore silo where the station's minerals are stored.
add: The station's ORM, recycling, and the labor camp send materials to the silo via bluespace.
add: Protolathes, techfabs, and circuit imprinters all pull materials from the silo via bluespace.
add: Those with vault access can view mineral logs and pause or remove any machine's access, or add machines with a multitool.
tweak: The ORM's alloy recipes are now available in engineering and science protolathes.
2018-07-25 22:58:11 +12:00
Emmett Gaines 418ea4fa2a Fixes redirect component transfers (#39290) 2018-07-24 21:03:53 +02:00
ninjanomnom efae41db60 Some performance improvements and cleanup to radiation 2018-07-24 09:50:00 -04:00
Tad Hardesty 5274b9136a [s] Fix delete href exploit (#39303)
* Fix delete href exploit

* Another one
2018-07-23 22:35:47 +03:00
Tad Hardesty d867633d07 Fix Modify Armor Values in VV menu (#39247) 2018-07-21 20:07:05 -04:00
Jared-Fogle e5a2694fe2 Fixes destroyed non-human bodies cloning as humans. (#39099)
I really don't like my way of doing this but I don't know if there's something
more obvious I'm missing...
2018-07-20 20:03:42 -07:00
Grandmother of 50 90a1b8c363 Mood Code Improvements [Merge-Ready?] (#39075)
fix: having higher sanity is no longer punished by making you enter crit faster
balance: you can have 100 mood instead of 99 before it starts slowly decreasing


Remember higher sanity is BETTER

You want crit_modifier (now crit_threshold) to be LOW so you can stay in fights more (you go into crit at 5hp vs 0hp).

Why: Proc overhead, puts the load on mood, proper abstraction of mood component, values > defines, etc.
2018-07-20 11:33:00 +12:00
WJohn fd70855a81 Updates the caravan space ruin. (#39182)
* Updates the caravan ruin to remove some of its equipment and re-add the 2nd fighter ship as was originally intended.

* Airlock naming, changed office chairs in dropship to shuttle chairs because they got flung whenever it took off.

* Removes the 2nd syndicate fighter as ninjanomnom will design a better system for it at a later date.

* Renames syndicate fighter to "shiv"
2018-07-18 18:46:51 -04:00
kevinz000 d97bd6c0ae Removes flightsuits (#39195) 2018-07-18 17:46:53 -04:00
XDTM cb5493f83e [Ready]Fixes imaginary friend bugs, adds some QoL (#39008)
* Fixes imaginary friend bugs

* full fix

* mut app

* typo
2018-07-18 11:50:42 +02:00
XDTM 43184b87a5 Limb damage rework (#38436)
balance: Limbs no longer need to have full damage to be dismemberable, although more damage means higher dismemberment chance.
balance: Damaging limbs now only counts as 75% for the mob's total health. Bleeding still applies normally.
add: Limbs that reach max damage will now be disabled until they are healed to half health.
add: Disabled limbs work similarly to missing limbs, but they can still be used to wear items or handcuffs.


Fixes #38445


Always felt odd how reaching max damage on a limb had no consequence. Now it does.
Currently i only added effects for disabling arms and legs; "breaking" heads and torsos has no effect as of now.
2018-07-17 20:34:02 +12:00
vuonojenmustaturska 042ea5ea63 Fixes emote runtimes (#39115)
Fixed some missing args in emote procs called with named args, leading to
runtimes.
2018-07-14 13:20:50 -07:00
Jordan Brown f3932241c8 Merge pull request #38995 from ninjanomnom/looping-timers
Adds looping timers
2018-07-13 18:25:24 -04:00
zxaber 2fd4c921d6 Fixes MMIs in borgs dying to ash storms. (#39036)
* Fixes brain MMIs from being killed by ash storms.

Adds an istype brain check alongside the mech check for ash-storm proofyness. Brains don't really gain anything from being ash-proof outside of a bug fix,

* Update ash_storm.dm

Made it slightly better-good

* Update ash_storm.dm

* Update weather.dm

* Reverting to Orange's change

* Reverting to no change.
2018-07-13 18:19:17 -04:00
Emmett Gaines 44da4cb683 Makes magnetic catch cleaner in game (#38956)
Utilizes the new signal refactor to cancel throws before they happen. This prevents the silly spin even though the throw was stopped.
2018-07-13 10:31:30 +02:00
ninjanomnom d32d2869c0 Adds looping timers
and a requested binary search insert macro
2018-07-12 20:23:56 -04:00
tralezab 7ca74a8436 Var menu has a dropdown for granting martial arts. (#39049)
I was making a ninjutsu martial art, and I got really pissed that I have to
make specific snowflake items whenever I want to test a martial art, so I coded
a quick fix for that in the dropdown. Then, I realized that admins have to find
these same dumb snowflake art granters and so I decided to quickly make a new
branch and pr this.

Why: Way better way of doing martial art TC trades, hopefully saves some time
for our admins. Maybe helpful in setting up events.
2018-07-11 18:53:37 -07:00
Jordan Brown f77b38fb03 Merge pull request #39059 from ninjanomnom/haunting-squeaks
Makes the squeak component slightly more horrifying
2018-07-11 21:06:27 -04:00
Jordan Brown dd383873e3 Merge pull request #39055 from ninjanomnom/shuttle-rotation-fixes
Fixes porta_turret and decal shuttle rotations
2018-07-11 15:11:54 -04:00
Jordan Brown 2ee83a5bf7 Merge pull request #39006 from XDTM/IHaveNoMouthAndIMustScream
Unintentional emotes no longer complain while restrained or unconscious
2018-07-11 14:39:38 -04:00
ninjanomnom 20f015a2ea Makes the squeak component slightly more horrifying
The clown outfit got its hardcoded squeak on hit replaced with the component.
Objects which can squeak which are thrown in disposals will squeak when they hit bends in the piping.
2018-07-11 01:12:45 -04:00
ninjanomnom e274ff1b18 Fixes porta_turret and decal shuttle rotations
Also removes a related unused signal
2018-07-10 18:30:23 -04:00
Emmett Gaines 3c7bffc278 Renames the squeak component file and cleans up a little registry (#38954) 2018-07-10 15:05:28 -04:00
Nick 8acec65f47 Adds time to explosions saved in the feedback table (#39017)
* Exactly what it says on the tin. Adds time to explosions saved in the feedback table.

* Nevermind I want deciseconds

* Update feedback version

* Dumb ned
2018-07-10 13:57:37 -04:00
Jordan Brown 2462ed3820 Makes getrev not smoothbrain when there's no .git folder (#39016) 2018-07-10 13:23:59 +03:00
AnturK 68da76a05d Drops DF_USE_TAG in core destroy. (#39012) 2018-07-10 12:22:09 +03:00
Jordan Brown 96c92d5eb7 Merge pull request #38938 from ninjanomnom/b-b-bump
Converts collide back to bump and fixes double bumping in another way
2018-07-09 14:50:27 -04:00
XDTM b921a661ea Unintentional emotes no longer complain while restrained or unconscious 2018-07-09 11:21:22 +02:00
Emmett Gaines 9631eabbc3 Cleans up the forced gravity component and makes it use signals (#38962)
* Cleans up the forced gravity component and makes it use signals

* Suffer not a bool
2018-07-08 22:01:35 -07:00
vuonojenmustaturska 05146d27c8 Fix mood component signal registering (#38991)
Yeah uh, strings can't host components and these flat out just runtime at roundstart, leading to moods being flat out broken.
2018-07-09 11:16:35 +12:00
subject217 6fdab2e352 Fixes wires not making sound when pulsed/cut (#38958)
Switches the sound source from the wire datum to the holder
2018-07-08 19:14:26 -04:00
AnturK 6d4806fb3f Block OOC during cinematics (#38846)
Then again the spam is usually funny.

* Blocks OOC during fake nuke.

* Makes this work only with global cinematic calls.

* Defaults to stopping OOC for all cinematics.
2018-07-08 12:29:00 -07:00
Cruix 275aa2bfa2 AI detection multitools can show camera static and AI eyes (#38255)
The old color-change functionality of the multitool remains unchanged. The hud is toggled with an action button, because multitools already have an attack_self() that does something. When toggled on, you get the hud as long as the multitool is in any slot on your body.

The only way I could find to reliably show exactly where an AI is looking was to place an image on every turf they are looking at. Because AI eyes move around a lot and I do not want them placing images all over the place when they do not have to, if there is nobody in the world currently using an ai detection multitool, they will not update the images until someone is.

Only AI eyes and multicamera zones currently appear. Advanced camera consoles do not appear on the hud, and no longer trigger the proximity color change. Also fixed multitools not appearing in-hands if their icon state changed.
2018-07-08 17:19:55 +12:00
Qustinnus 284f90a3ab Makes some requested changes to mood (#38851)
cl Floyd
del: removed beauty / dirtyness
balance: Mood no longer gives you hallucinations, instead makes you go into crit sooner
/cl

oranges requested these changes, i havn't coded in DM for a while so I might have made some mistakes
2018-07-08 13:50:54 +12:00