Use act() in reactor scripts where possible, provide empty act() otherwise
"function hit()" has triggered on each reactor hit, while "function act()" is only triggered once it's destroyed or reached an end state
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
Yulete's Lab: Making the Reagent
|
||||
*/
|
||||
|
||||
function hit() {
|
||||
if (rm.getReactor().getState() == 4) {
|
||||
rm.dropItems();
|
||||
}
|
||||
function act() {
|
||||
rm.dropItems();
|
||||
}
|
||||
Reference in New Issue
Block a user