Commit Graph

25373 Commits

Author SHA1 Message Date
Arokha Sieyes
0fe43a1f2b Removes all the hard references to computer.dmi
I assume these were all lazy copy-pasting. We're changing computer icons to another set in a file we'll keep separate, and these completely pointless references are annoying. They should inherit this from the `/computer/` level, which they do. Has no effect on Polaris, but cleans up code that shouldn't exist.
2017-04-19 16:54:16 -04:00
Yoshax
c9c046913f Changes tape coloring + slight rework 2017-04-19 19:37:56 +01:00
Anewbe
d7b347c4c9 Merge pull request #3333 from Neerti/4/18/2017_modifier_system_and_lings
Adds Modifier System, Changes Some Ling Stuff
2017-04-19 13:29:21 -05:00
Neerti
4378fc0812 Merge pull request #3295 from Anewbe/lever_action
Adds a lever-action rifle
2017-04-19 13:58:37 -04:00
Anewbe
28caa29467 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into scratch_damage
# Conflicts:
#	code/modules/mob/living/carbon/human/human_defense.dm
2017-04-19 12:55:11 -05:00
Neerti
e951ff344e Merge branch 'master' of https://github.com/PolarisSS13/Polaris into 4/18/2017_modifier_system_and_lings 2017-04-19 13:47:57 -04:00
Anewbe
bf7dce79cc Unathi mechanical changes (#3256)
* Unathi changes

* Tweaks blurb

* Alcohol tweaks

* Age tweak

* Slowdown

* Adds Unathi to the codex

* Fixes Unathi Organs, adds sprites

* Fixed the changelog

* Sprite and language tweaks, Unathi
2017-04-19 13:42:51 -04:00
LorenLuke
8ed7b72aed Splits item check back into mob-specific procs. 2017-04-19 10:10:56 -07:00
LorenLuke
c099dbdece Reworks ranged changeling stings (see changelog). 2017-04-19 09:45:02 -07:00
Anewbe
8d2f8c29d7 Merge pull request #3307 from LorenLuke/Blast-Door
Allows blast doors to be attacked like airlocks.
2017-04-19 10:32:37 -05:00
Anewbe
93b52c138a Merge pull request #3308 from LorenLuke/Changeling-Respec
Tweaks Changeling Respecs
2017-04-19 10:32:13 -05:00
Anewbe
2306d3726e Merge pull request #3325 from LorenLuke/Silenced-Notification
Silenced Weapons tell firer when fired
2017-04-19 10:30:30 -05:00
Anewbe
9d2df21777 Merge pull request #3328 from Neerti/3/14/2017_makeshift_armor
Adds Makeshift Armor
2017-04-19 10:13:20 -05:00
Cerebulon
dd3ed474fe Added code for effected mask sprites, fixed remainder of mask sprites. 2017-04-19 04:31:25 +01:00
Arokha Sieyes
33c28bbcf3 Allows turf unalloc in planets 2017-04-18 22:03:04 -04:00
Neerti
ea6128f986 Adds Modifier System, Changes Some Ling Stuff
Adds a fairly simple system that allows adjusting various numbers like max health, incoming damage, outgoing melee damage, etc.  The nice part is that changing certain variables this way (like max health) is a lot safer than manually setting the max health var directly.
Changes a lot of short lines of code to point towards a variable's getter or setter helper instead of reading the var directly so the modifiers can work.
Endoarmor, delayed toxin sting, Enfeebling sting, and recursive adrenaline overdose now use the modifier system.
Enfeebling sting now only lasts two minutes, from five minutes, however it now also reduces the victim's melee damage by 25%/50%, and increases the damage they suffer by 10%/35%, for normal and recursive respectively.
Delayed Toxin Sting's effects are now felt all at once instead of over the course of a few minutes.
2017-04-18 21:23:59 -04:00
Arokha Sieyes
d00c5941ca Controllerized Planets
Controller with deferrals and SCHECKs to be specific. Won't lag while updating the sun, weather, or temperature.

Also moved some vars around. Namely the planet walls are stored on the planet, not in the weather_holder.

Planets now have their own turfs, the controller 'gives' them to the planets each cycle if there are any unallocated turfs in the global lists, to avoid iterating over other planets' turfs if you have more than one, then cuts the lists if you were crazy and some turf added some invalid type. This saves us type-checking in the for() loops later to make them crunch faster. The former operation should only happen once at the start of the game (and maybe very rarely when turfs are added/removed from a map during the game).

With regards to the temperature updates, rebuilding the zone entirely is an intensive operation. Instead we can use this new cheaty proc to do it from over here. ZAS code outside ZAS oh noooo. Well, the option is to snowflake this case into ZAS which is maybe worse?

Only downside to all this is that if you manually set weather and time it might take between 1-60 seconds for the controller to get around to checking if you wanted to update it. That's not that big a deal. If you really want you can now debug that controller and call doWork on it.
2017-04-18 20:08:22 -04:00
Leshana
1987439151 Reduce footstep volume if walking or barefoot. 2017-04-18 18:09:45 -04:00
Anewbe
075cc0dde4 Merge pull request #3324 from VOREStation/port-bay-multiz-fixes
Ports a few fixes to multi-z and related code from Bay
2017-04-18 14:20:16 -05:00
Anewbe
107f11c829 Buffs cult armor energy rating 2017-04-18 10:35:09 -05:00
Leshana
9a7dda1ad1 Implements footstep sound system and adds sounds to various floor types.
* Adds system for turfs to have "footstep sounds" that play when someone walks over them.
* Adds system for floor types (the kind of turfs where you can put tiles on them) to support the footstep sounds.
* Adds sounds to plating, tiles, wood, and carpet floor types.
* Footstep sound system is configurable in game_options.txt, it can be turned off completely or the volume adjusted.
2017-04-18 11:33:44 -04:00
Anewbe
ecb89d87b3 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into scratch_damage 2017-04-18 09:34:32 -05:00
Neerti
6bd0f8742e Finished coding makeshift armor. 2017-04-18 03:16:10 -04:00
Anewbe
55d895aa14 Merge pull request #3327 from Atermonera/Translator_Languages
Fixes a runtime with borgs and translators
2017-04-17 23:25:01 -05:00
Atermonera
e5e5c446a6 Fixes a runtime with borgs and translators 2017-04-17 21:01:42 -07:00
Neerti
b551a30f3c Merge pull request #3319 from VOREStation/zero-pressure-water
Fix lung rupture while drowning in water.
2017-04-17 22:56:14 -04:00
Neerti
2980e31583 Merge pull request #3321 from Yoshax/iamthehumantorch
No longer shall ye burn from water
2017-04-17 22:48:52 -04:00
LorenLuke
1f0264f68b Adds range/small message to notification. 2017-04-17 19:41:17 -07:00
Anewbe
46d447e478 Merge pull request #3326 from Cerebulon/techoriginsfix
Fixes improperly formatted tech_origins
2017-04-17 20:57:28 -05:00
Anewbe
b00897fb15 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into scratch_damage 2017-04-17 16:49:10 -05:00
Anewbe
8d8eaaa1b1 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into thermals 2017-04-17 16:46:10 -05:00
Cerebulon
843a59ca07 Fixes improperly formatted tech_origins for hatchet, scythe, reinforced glass, mechanical trap, kitchen utensils and kitchen knife. 2017-04-17 19:31:01 +01:00
Anewbe
b7751bab10 Changelog, adds the dicecup to the loadout 2017-04-17 12:44:34 -05:00
Yoshax
b6fb86cd95 Does what ze captain wants 2017-04-17 18:43:31 +01:00
LorenLuke
c28d8738aa Silenced Weapons tell firer when fired. 2017-04-17 10:34:40 -07:00
Anewbe
35d4f2455d Merge branch 'master' of https://github.com/PolarisSS13/Polaris into dice_thing 2017-04-17 12:27:36 -05:00
Anewbe
ed66150523 Tweaks hallucinations from the supermatter 2017-04-17 12:19:35 -05:00
Anewbe
7393ba0f26 Merge pull request #3322 from MagmaRam/evabook
Updates in-game EVA manual
2017-04-17 12:18:19 -05:00
Leshana
ff3c5238aa De-snowflake thrown objects hitting turfs.
* Port of https://github.com/Baystation12/Baystation12/pull/16942
* Actually tell turfs when a thrown object hits them, and let them decide what to do about it!
  * We do this by calling hitby(), which is how it already works for obj and mob, so this makes behavior consistent.
* This allows us to cleanly solve the problem of a thrown object landing on open space without falling.
2017-04-17 13:13:40 -04:00
Leshana
b5dbe8492c Fix crash in turbolifts built on any z-level other than "1"
Port of https://github.com/Baystation12/Baystation12/pull/16941
* Turbolift auto-mapping code assumed that all lift's first floor would be on z=1.  Fixed so it picks the first floor instead of the zth floor from the floor list.
2017-04-17 13:13:39 -04:00
MagmaRam
cff6fc4150 Merge pull request #3313 from Anewbe/halt_fix
Sorta fixes the syntax on the *halt emote
2017-04-17 11:26:46 -05:00
MagmaRam
cec43bf3d2 Updates in-game EVA manual 2017-04-17 11:19:39 -05:00
Leshana
95b9dde94a Multi-Z code formatting and utilities.
* Global procs should start with /proc
* Use to_chat() macro
* Added utility to find all z-levels are connected (transitively adjacent) and utility to test if two levels are connected.
2017-04-17 11:57:49 -04:00
Yoshax
1c000715dd No longer shall ye burn from water 2017-04-17 15:29:08 +01:00
Leshana
a118aad7b3 Fix lung rupture while drowning in water.
* When water returned null from return_air_for_internal_lifeform() the life code treats that as vacuum.  Instead we must return a mixture containing at least some gas.
* It will attempt to use the exhale type for the species, or fall back to carbon_dioxide if it can't find that info.
2017-04-17 00:26:19 -04:00
PsiOmegaDelta
663e2b2d4c Can no longer move up/down from non-turf locations.
Port of https://github.com/Baystation12/Baystation12/pull/16653/
2017-04-16 21:33:16 -04:00
Leshana
b9dd5233a6 Fix mining turfs permenently unlit.
* Mining turfs generated during random mapgen get their opacity changed
without a call to recalc_atom_opacity() becuase the game ticker has not
started.  Make sure we call it even before that point.
2017-04-16 14:46:09 -04:00
LorenLuke
6431ef58be Allows placing tape masks/restraints back on the roll. 2017-04-16 10:31:36 -07:00
Neerti
d09cc7a57d Merge pull request #3306 from Anewbe/markings
Makes two more markings Taj only
2017-04-16 10:26:16 -04:00
Neerti
22c329e906 Merge pull request #3305 from VOREStation/aro-pol-planets
Make planets more generic
2017-04-16 01:30:55 -04:00