Commit Graph

10 Commits

Author SHA1 Message Date
Jordan Brown
c941d04c68 Fixes component dupe checks not actually checking if there IS a dupe component 2017-08-25 09:59:21 -04:00
Jordan Brown
fc41bf41ef Cleans up component Initialization (#29891)
* Cleans up component Initialization

* Add LoadComponent()
2017-08-22 09:26:56 +12:00
Jordan Brown
3c56d0f4f3 Ports duplicated slipping code to a component (#29628)
* Ports duplicated slipping code to a component

* Makes metal not slippery

* asdf

* Instead of cherry picking like an idiot I could just copy paster

* OOP

* And blood, don't forget Fry's blood!

* Further fixes

* A more generic fashion

* Use the new system

* Fixes

* Fix cartridge type

* Remove inertia
2017-08-09 16:06:15 +02:00
Leo
0d332545bc Merge pull request #29647 from Cyberboss/CompFix
Fixes SendSignal()
2017-08-03 15:14:59 -03:00
Jordan Brown
de3ba0e533 Fixes SendSignal 2017-08-02 14:53:52 -04:00
Jordan Brown
b018a9ba4f Merge branch 'master' into bdbroundid 2017-08-02 11:33:36 -04:00
Jordan Brown
452c5ce360 Makes GetComponent() faster using typecache magic (#29523)
Added /proc/type2parent which takes a type (string, or type) and returns it's parent type (initial(x.parent_type) doesn't work)

Instead of being a raw list of components, /datum/var/datum_components is now associated list keyed by type with some bells and whistles to make GetComponent() calls faster
2017-08-02 09:58:53 +12:00
Jordan Brown
cd912faf59 Unifies datum definitions 2017-08-01 15:51:26 -04:00
Jordan Brown
0321e6bd85 DCS Continued (#29324)
Adds's documentation to the DCS system, refactors to improve the caller API
2017-07-25 09:44:19 +12:00
Jordan Brown
bcb85acb1e Ports /vg/'s datum component system (#29178)
* Ports /vg/'s component system
2017-07-17 12:10:25 +12:00