Update Exile.ini

This commit is contained in:
DoubleRepo
2018-03-16 23:38:52 +01:00
committed by GitHub
parent daade5ea62
commit 5b29a89fd0

View File

@ -8,10 +8,10 @@ SQL1_INPUTS = 1,2
OUTPUT = 1 OUTPUT = 1
[loadTree] [loadTree]
SQL1_1 = SELECT position_x, position_y, position_z FROM tree WHERE id = ? SQL1_1 = SELECT position_x, position_y, position_z, regrow FROM tree WHERE id = ?
Number Of Inputs = 1 Number Of Inputs = 1
SQL1_INPUTS = 1 SQL1_INPUTS = 1
OUTPUT = 1,2,3 OUTPUT = 1,2,3,4
[insertTree] [insertTree]
SQL1_1 = INSERT INTO tree SET position_x = ?, position_y = ?, position_z = ? SQL1_1 = INSERT INTO tree SET position_x = ?, position_y = ?, position_z = ?
@ -19,6 +19,16 @@ Number of Inputs = 3
SQL1_INPUTS = 1,2,3 SQL1_INPUTS = 1,2,3
[ResetTree] [ResetTree]
SQL1_1= UPDATE tree SET regrow = '0' WHERE id = ? SQL1_1= UPDATE tree SET regrow = '0', added = now() WHERE id = ?
Number of Inputs = 1 Number of Inputs = 1
SQL1_INPUTS = 1 SQL1_INPUTS = 1
[MarkTree]
SQL1_1 = UPDATE tree SET regrow = regrow + 1 WHERE added < DATE_SUB(NOW(), INTERVAL 2 DAY) AND id = ?
Number Of Inputs = 1
SQL1_INPUTS = 1
[DeleteTree2]
SQL1_1 = DELETE FROM tree WHERE id = ?
Number Of Inputs = 1
SQL1_INPUTS = 1