Commit Graph

2796 Commits

Author SHA1 Message Date
Nabski89
1124374de1 Vitiligo Level Bugfix (#22664)
🆑 Baby's first PR
fix: Vitiligo and Revitiligo were listed as level 5, but had level 4.
/🆑
2017-01-04 10:57:24 +01:00
TehZombehz
a051081a79 Fixes missing materials upon deconstruction/retrieval (#22667)
* Fixes missing materials upon retrieval

Fixes attempts to retrieve materials resulting in missing stacks if
there is more than one full stack of a material in the machine.

* Alternative Fix

This is what actually needed fixing. M.amount would always equal 0, so
round would always result in 0, thus sheet remainders would never get
outputted. This resolves that.
2017-01-04 18:21:52 +13:00
Kyle Spier-Swenson
bee4b132a3 [READY]Makes addtimer use callbacks (#22660)
* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
2017-01-04 16:02:56 +13:00
Kyle Spier-Swenson
280dbe20c3 [Ready] SSthrowing + callbacks! (#22476)
* SSthrowing + callbacks!
Throwing is now a subsystem.
It's low priority, but is a ticker subsystem so is ran before most other subsystems.
To allow for shit to run after the throw finishes, throwing now supports a callback.
A callback datum system was created, conversion of addtimer is planned for another PR.
Throwing now has a limit of 2048 turfs (was 600)
Throwing now ticks every world.tick, and properly converts the speed arg from 1ds to what ever tick_lag is.
Throwing now properly accounts for missed ticks.
Throwing no longer uses sleep.
Throwing should no longer lag since it's not filling the sleep queue up

* Smoother tentacles

* Some improvements

* Missed a spot.

* Makes shit quicker.
Inlines the thrownthing.tick() proc.
Raises missed ticks value
Lowers max dist value
Inlines the two sister overrides for /atom/movable/Moved() because that just seemed like a waste

* >PRs open that use procs i'm removing.

* STOP THE PRESSES!

* throw_at now runs the first throw tick() immediately
This will help some with throwing while running.

* Item throwing now imparts the momentum of the user throwing.

(ie, running in the direction you are throwing makes you throw faster, running away from the direction you are throwing makes you throw the item slower)

* Moves throwing momentum from carbon/throw_item to movable/throw_at.
There are other things that cause a mob to "throw" an item, I figured we keep this universal since thrower is already an arg.

* Explosions throw shit faster.
This was stupid, "Hey, lets set the item's throw_speed to 4 so embedding works, but lets make it throw at the base 2 throw speed for no reason."

* Fixes explosion embedding.
This also acts as a nice example of how to override a callback in an override of throw_at properly.
2017-01-02 20:08:03 +11:00
Mervill
466efe09f2 Updates the lavaland and space ruin blacklists with newer ruins (#22551)
* updates the lavaland ruin blacklist

* updates the space ruin blacklist

* add reminders about the blacklists
2016-12-29 22:02:28 -05:00
Joan Lung
8765bcade3 Fixes some emote bugs and grammar (#22538)
* Fixes some emote bugs and grammar

* no message

* hup
2016-12-29 15:24:07 +01:00
bgobandit
e9544b8bec Fixes spelling and misleading messages (#22512)
* Fixes spelling and shit

* satiates the kor, fixes more typos/grammar issues

* spelling madness

* I'm mad with spelling power
2016-12-29 10:14:01 +13:00
oranges
f73c546536 Merge pull request #22494 from AnturK/churn
Reduces AB overlay updates
2016-12-29 10:09:17 +13:00
AnturK
8bb8d924b6 Reduces AB overlay updates 2016-12-28 14:16:32 +01:00
Lzimann
b63f8a1818 Fix showing the wrong message to ghosts. 2016-12-28 10:16:16 -02:00
AnturK
d818a33a6a Makes gamemode odds show % at current population (#22437)
* Makes gamemode odds show the % at current population

* Improvmets, probably broken
2016-12-28 09:04:17 +13:00
Joan Lung
2d72994cf8 Merge pull request #22405 from lzimann/datumemotes
Refactors the emote code into emote datums.
2016-12-27 11:19:10 -05:00
Lzimann
520f7db110 Adds a new proc, select_param, you can override it if you need specific checks in the param selection. 2016-12-27 14:05:39 -02:00
Lzimann
5a585fc124 Removes some leftover debug messages.
Aflap is now a child of flap, each having a wing opening/closing timer, also improved the code there a bit.
Adds a stat_allowed var(all emotes are default to CONSCIOUS).
2016-12-27 07:44:49 -02:00
Joan Lung
2c39711ab5 New Hierophant sprites (#22404)
* New Hierophant sprites

* actual boss sprites: MAYBE

* byond does not actually catch this error

* anomaly

* I'm a sucker for stupid-ass puns
2016-12-26 19:30:37 -05:00
Kyle Spier-Swenson
d654029951 Fixes vv icon weirdness (#22454)
If it still happens after this, it's a byond bug.

These files are cleared when ds exits and every now and then by byond
2016-12-26 18:44:54 +01:00
Joan Lung
72716081f9 Fixes converting the AI (#22467) 2016-12-25 17:23:42 -05:00
Lzimann
d0fa89a452 Adds a way to override emote_type(mainly for custom emote). Also moves the implant trigger to all livings instead of carbon only. 2016-12-25 17:32:19 -02:00
Lzimann
7bf4aea58b Merge branch 'master' of https://github.com/tgstation/-tg-station into datumemotes 2016-12-25 13:22:56 -02:00
Joan Lung
95af0534f6 MMI'd clockcultists put in AI cores will properly lose clockcult status (#22369)
* MMI'd clockcultists put in AI cores will properly lose clockcult

* uuuuugh

* fix the core while we're at it

* "

* mrrp

* this will also follow you around

* hmm
2016-12-25 16:18:55 +13:00
Shadowlight213
86f7afc3c8 all shuttles are now protected 2016-12-23 22:00:46 -08:00
Shadowlight213
5dd264102e Adds arrival shuttle to radstorm protected areas
Fixes spider structures having null armor
Fixes division by 0 with hellcan
Fixes runtime in automatons
Fixes runtime with recharger in modular computer destroy
Fixes runtime in power monitor
2016-12-23 18:50:10 -08:00
Lzimann
b1f445ece6 Adds the help emote and removes debug messages. 2016-12-23 23:45:01 -02:00
Lzimann
350bc7d597 Finishes brain emotes
Fixes simple animal attacks(when no damage)
Re-adds sounds to some alien emotes.
2016-12-23 20:12:43 -02:00
Lzimann
2e6ceafc3b Forgot some files. 2016-12-22 20:40:01 -02:00
Joan Lung
3858c3ef33 Failed clockcult conversions are more obviously failed (#22303) 2016-12-20 08:38:31 -05:00
Supermichael777
64ab376212 Makes the checks used by bibles better (#22171)
* makes these checks more flexable

* oh hai mark

* praise jesus

* magicaly a better understanding of how to structure if checks lets me cut 2 lines

* wew

* spellcheck

* i shoudent code drunk

* weeeeew

* llllllaaaaaadddddd

* madcusbad

* i realy should learn desktop git

* wew

* Im just so sorry

* because we can't be having the power of atheism melting clockcult.
2016-12-19 11:34:57 +13:00
Haevacht
a6711a7003 Tomb of the Dragoon, and the Sky Bulge lance (#22270)
* Sky Bulge Commit mk2

WORK THIS TIME.

* Indentation.

* Jordbord's suggestions

Incorporated. The bone spear line was also doubletabbed I was set up!

* FUCKING INDENTATION

* the flan update

they don't exist in world but here have a mob

* we fireflans now

also isliving is in now, just gotta actually map a thing

* the tomb update

it's bigger now

* .gitignore revert

* workpls

* Revert ".gitignore revert"

This reverts commit 1fefd34fc7c0dbc8f1f353a95e53665e03ba75cf.

* workthistime

* Revert "workthistime"

This reverts commit 214509d5abda941c470708431536ccd715334e8e.

* well it's the closest gitignore fix so far

* fix dme change

will need to be loaded for the map part to work though

* gitignorerevert take 43

* jordbord fix mk 2

* includes flan.dm in the .dme
2016-12-19 00:12:12 +11:00
XDTM
cddce20ba9 Adds combat tentacles for changelings (#22203)
* Combat tentacles

* wrong layer

* No spawn

* null and void

* /proc/
2016-12-18 19:49:45 +13:00
Incoming5643
123426b9c9 Fixes all the occasions where a wizard could find/make sandals and get the nerfed sandals instead of the new ones introduced in #22164 (#22237) 2016-12-17 14:22:46 -05:00
Joan Lung
b2fcbabb0b You can now push Wraith Spectacles up (#22188)
* You can now push Wraith Spectacles up

* you need to... actually LOSE the xray vision

* Don't flicker toooo much

* for bonus points, let's us refactor status effects while we're here

* might as well keep that around
2016-12-16 10:59:26 +13:00
Cheridan
b70c93defc Merge pull request #22177 from ChangelingRain/clocklogging
Adds a bit more logging to clockwork stuff
2016-12-15 15:20:01 -06:00
XDTM
7d1a67d0c8 Abductor tools and tool sound refactor. (#22125)
* Everything in the PR

* I'm taking that as a yes
2016-12-14 18:09:41 +13:00
Joan Lung
09dfc5253e more logs 2016-12-13 16:22:43 -05:00
coiax
2426bcb7d9 Adds "weighted random" AI law config (#22081)
* Adds "weighted random" AI law config

- Streamlines some duplicated code for law config stuff
- Makes a new "weighted random" option for AI laws, where an AI has a
random lawset, but some lawsets are more common than others.

80% normal, 20% quirky.

For those unwilling to source dive, here are the weights:

- 32% Asimov
- 12% Asimov++
- 12% Corporate
- 12% Robocop
- 12% Paladin

- 4% Maintain
- 4% Reporter
- 3% Hippocratic
- 3% Live and Let Live
- 3% Peacekeeper
- 3% Drone

* Law weights are now in the config file
2016-12-13 13:42:35 +01:00
Okand37
2b367d1154 Adds DeltaStation's emergency shuttle to the shuttle file list (#22106)
* Deltastation Playtest map

* Fixed Final Draft Deltastation Testmerge Playtest

* Fixed Final Draft Deltastation Testmerge Playtest and removes empty file

* Final Draft Deltastation bugs, issues, oversights fix 2.0

* More fixes!

* May the fixes guide you on your journey, brave undead

* minor fixes for the night

* more bugfixes 3.0!!

* Adds DeltaStation's emergency shuttle to the shuttle file list

* updating still not finished!

* more updates

* Update shuttles.dm
2016-12-13 17:42:21 +11:00
coiax
1428f3f532 Cyborgs have a reset module wire (#22016)
* Cyborgs have a reset module wire

🆑 coiax
add: Cyborgs now have a reset module wire, that when pulsed, triggers
the cyborg's reset module hardware.
/🆑

Because they can't touch it themselves for software reasons. Now you can
ask random assistants to reset you in a pinch, or do it on the FRONTIER.

* Upgrade ejection, removed reset board
2016-12-11 19:55:03 +13:00
Thunder12345
625e8f2d3d Minor Scrapheap Challenge fixes + making it ACTUALLY WORK (#22102)
* fuck

* stop
2016-12-10 15:12:56 -05:00
Thunder12345
1a240d82e8 Introducing the Standby Emergency Vessel, "Scrapheap Challenge" (#22009)
* Added fuckshuttle

* Converted to tgm

* In which cheridan ruins the joke

* reeeee
2016-12-10 10:29:40 +13:00
XDTM
ece186240b Fixes podcloning headless people (#22008)
* Blood for the plant god

* Professional debugging code

* New Deal
2016-12-09 09:08:30 +13:00
Joan Lung
a75f333f31 TGUI slab interface (#21987)
* tgui slab interface

* as is done
asking for help is a myth, taking help is not

* byond rides again

* do things and forget to fix them

* plus some bullshit

* info!
2016-12-08 10:17:28 -06:00
Kyle Spier-Swenson
dedb16826e Speeds up world init. (93s -> 49s) (#21992)
* Speeds up world init.

* Armor is now new inited for obj and the first level of subpaths.
* Actions is now lazyinited and deleted with empty.
* Actiontypes is now only inited when actually used and deleted once it pre-fills actions with the action buttons.
* Pipes now prefill their node list(s) in new() using new /list/ (count) syntax to speed up the list initaliztions and remove the init proc.
* Pipes no longer store their item version, instead creating it on the fly when deconned
* Walls no longer store their metal stacks, instead creating it on the fly when deconned.
* obj, walls, floor, plating, item, machinery, structure, pipe, pipenet, atom, and movable no longer have an (init) proc. (along with a few other smaller examples)
* Atmos can pass checking is now a var with the ability to have a proc be call in advance cases.
  * (as a side effect, I had to fix a few things that were calling atmosCanPass rather then using the pre-calculated list, this should speed up chemfoam and flame effects greatly)

* Reverts upload limit
(remind me one day to defuck this, it could easily be a config thats not editable by vv to make changes easier)

* Makes apc update icon a bit faster.
APC new is some what high on the profile of world init, still not sure why, but this stood out as a waste of cpu so i fixed it.

* Fixes runtime with atmos backpack water tanks.

* Makes smoothing faster (and fixes turfs smoothing twice at init)

* Makes apcs init faster by replacing some spawns with addtimer

* fix transit turfs.
2016-12-08 21:50:15 +13:00
oranges
073ddfd60c Merge pull request #21978 from ChangelingRain/removecoiaxlines
Removes a bunch of unnecessary lines
2016-12-08 10:23:07 +13:00
Joan Lung
081cf25de6 Removes a bunch of unnecessary lines 2016-12-05 23:01:58 -05:00
Cheridan
688e8b57b8 Merge pull request #21926 from KorPhaeron/shuttles
Allows adding prerequisites to purchasing shuttles
2016-12-04 20:48:26 -06:00
Joan Lung
551ede6d35 Kills all remaining text pronoun macros (#21916)
* Kills all remaining text pronoun macros

* review your own code

* oh right one further

* more

* \
2016-12-04 21:32:31 +01:00
KorPhaeron
c9dcd95473 Shuttle Requirements 2016-12-03 19:38:38 -05:00
Mervill
0972f78800 a_intent now uses defines 2016-12-02 22:27:30 -08:00
Mervill
c2e2440953 Merge branch 'master' into w_class
Conflicts:
	code/game/objects/items/weapons/twohanded.dm
2016-12-02 21:44:24 -08:00
Jordie
ca6ffdba40 Merge pull request #21866 from Mervill/slashes_deux
Remove slash from end of type refs/defs
2016-12-03 15:56:10 +11:00