Lohikar
c3c31c85ea
Machinery Component Initialization Refactor ( #3258 )
...
Machinery objects' component_parts list is now automatically populated with the types in the component_types list. Types can have an associated number which is interpreted as an instruction to spawn that number of that type. This eliminates a few Initialize() procs, and simplifies others.
Example:
component_types = list(
/obj/foo/bar,
/obj/baz = 2
)
Other changes:
Cable coils will now no longer force a stack size of 30 when created without their stack size passed as a parameter - this fixes anonymous types not working correctly with cable coils.
2017-08-09 20:33:14 +03:00
..
2017-08-06 19:50:53 +03:00
2017-05-02 14:40:40 -04:00
2017-06-28 14:37:42 +03:00
2017-08-06 22:09:41 +03:00
2017-08-06 22:08:42 +03:00
2017-08-06 22:08:42 +03:00
2017-06-28 23:15:50 +03:00
2017-05-23 12:10:30 +03:00
2017-08-04 21:36:04 +03:00
2017-08-07 23:56:04 +03:00
2017-08-04 21:24:04 +03:00
2017-06-28 23:09:59 +03:00
2017-07-14 20:08:59 +03:00
2017-06-05 11:15:07 +03:00
2017-08-06 22:09:41 +03:00
2017-07-14 20:08:59 +03:00
2017-06-13 01:37:44 +03:00
2017-05-21 12:07:57 +03:00
2017-07-13 21:04:31 +03:00
2017-06-04 13:32:49 +03:00
2017-06-10 19:58:20 +03:00
2017-08-06 22:08:42 +03:00
2017-08-06 22:08:42 +03:00
2017-08-04 21:36:04 +03:00
2017-05-29 21:17:41 +03:00
2017-08-06 22:08:42 +03:00
2017-08-02 19:54:10 +03:00
2017-05-02 14:40:40 -04:00
2017-06-15 12:41:45 +03:00
2017-08-06 22:08:42 +03:00
2017-08-04 21:36:04 +03:00
2017-08-09 20:33:14 +03:00
2017-08-09 20:27:50 +03:00
2017-08-09 20:33:14 +03:00
2017-08-06 22:08:42 +03:00
2017-07-16 20:32:33 +03:00
2017-05-02 14:40:40 -04:00
2017-07-28 12:00:36 +03:00
2017-07-16 20:32:33 +03:00
2017-08-06 22:08:42 +03:00
2017-08-09 20:33:14 +03:00
2017-08-07 23:56:04 +03:00
2017-06-30 13:11:11 +03:00
2017-08-06 22:08:42 +03:00
2017-08-06 22:08:42 +03:00
2017-08-09 20:33:14 +03:00
2017-05-02 14:40:40 -04:00
2017-07-16 20:32:33 +03:00
2017-08-06 22:08:42 +03:00
2017-07-15 16:18:14 +03:00
2017-08-02 19:40:03 +03:00
2017-07-15 16:24:03 +03:00
2017-08-06 22:08:42 +03:00
2017-08-06 22:08:42 +03:00
2017-08-09 20:33:14 +03:00
2017-08-04 21:49:56 +03:00
2017-08-06 22:08:42 +03:00
2017-06-23 15:55:41 +03:00
2017-08-06 22:08:42 +03:00
2017-05-29 21:17:41 +03:00
2017-05-02 14:40:40 -04:00
2017-07-06 23:37:58 +03:00