Fixed margin bounds
This commit is contained in:
parent
577df0ee45
commit
fd7ad21edb
@ -170,10 +170,14 @@ send "off" to the appropriate chanel to turn it off.
|
|||||||
Now here is the digiline requests format to be sent to injector:<br>
|
Now here is the digiline requests format to be sent to injector:<br>
|
||||||
<pre>
|
<pre>
|
||||||
{
|
{
|
||||||
slotseq = "priority", -- priority | random | rotation
|
slotseq = "priority",
|
||||||
exmatch = true, -- true | false
|
-- priority | random | rotation
|
||||||
name = name, -- here we give the node name to be sent.
|
exmatch = true,
|
||||||
count = count, -- no of count of node to be sent.
|
-- true | false
|
||||||
|
name = name,
|
||||||
|
-- here we give the node name to be sent.
|
||||||
|
count = count,
|
||||||
|
-- no of count of node to be sent.
|
||||||
}</pre><br>
|
}</pre><br>
|
||||||
Some example codes:<ol>
|
Some example codes:<ol>
|
||||||
<li> Operating it as stack wise injector <pre>
|
<li> Operating it as stack wise injector <pre>
|
||||||
@ -211,8 +215,10 @@ event = {
|
|||||||
},
|
},
|
||||||
metadata = "",
|
metadata = "",
|
||||||
count = 99,
|
count = 99,
|
||||||
name = "default:stone", -- name and count will chage according to the node
|
name = "default:stone",
|
||||||
wear = 0 -- this says about the condition of tool
|
--name and count will chage according to the node
|
||||||
|
wear = 0
|
||||||
|
-- this says about the condition of tool
|
||||||
},
|
},
|
||||||
action = "uput",
|
action = "uput",
|
||||||
to_slot = 1 --denotes which slot the stuff is
|
to_slot = 1 --denotes which slot the stuff is
|
||||||
@ -229,7 +235,8 @@ event ={
|
|||||||
meta = {
|
meta = {
|
||||||
|
|
||||||
},
|
},
|
||||||
metadata = "return {[\"charge\"] = 450000}", -- charge tells the amout of charge that crystal
|
metadata = "return {[\"charge\"] = 450000}",
|
||||||
|
-- charge tells the amout of charge that crystal
|
||||||
count = 1,
|
count = 1,
|
||||||
name = "technic:blue_energy_crystal",
|
name = "technic:blue_energy_crystal",
|
||||||
wear = 1
|
wear = 1
|
||||||
@ -252,9 +259,11 @@ event ={
|
|||||||
owner = "sivarajan",
|
owner = "sivarajan",
|
||||||
title = "my book",
|
title = "my book",
|
||||||
page_max = "1",
|
page_max = "1",
|
||||||
text = "hello \ world", -- \ represents a new line in a book
|
text = "hello \ world",
|
||||||
|
-- \ represents a new line in a book
|
||||||
page = "1",
|
page = "1",
|
||||||
description = "\27(T@default)\"\27Fmy book\27E\" by \27Fsivarajan\27E\27E"--this is the text shown to other player viewing the book
|
description = "\27(T@default)\"\27Fmy book\27E\" by \27Fsivarajan\27E\27E"
|
||||||
|
--this is the text shown to other player viewing the book
|
||||||
},
|
},
|
||||||
metadata = "",
|
metadata = "",
|
||||||
count = 1,
|
count = 1,
|
||||||
@ -262,7 +271,8 @@ event ={
|
|||||||
wear = 0
|
wear = 0
|
||||||
},
|
},
|
||||||
action = "umove",
|
action = "umove",
|
||||||
from_slot = 11, -- when moving stuff read the Notes
|
from_slot = 11,
|
||||||
|
-- when moving stuff read the Notes
|
||||||
to_slot = 3
|
to_slot = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -311,9 +321,9 @@ event{
|
|||||||
event ={
|
event ={
|
||||||
type= "digiline"
|
type= "digiline"
|
||||||
msg={
|
msg={
|
||||||
mesecon_mode = 0,
|
mesecon_mode = (intergervalue),
|
||||||
enabled = 1,
|
enabled = (integervalue),
|
||||||
power = 900
|
power = (integervalue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
@ -332,15 +342,18 @@ event ={
|
|||||||
type = "digiline",
|
type = "digiline",
|
||||||
channel = "<channel>",
|
channel = "<channel>",
|
||||||
msg = {
|
msg = {
|
||||||
input = <integer>, --input voltage
|
input = (integer),
|
||||||
supply = 40000,--upgrade 1 and 2 are availabe only for HV tools
|
--input voltage
|
||||||
|
supply = 40000,-
|
||||||
|
-upgrade 1 and 2 are availabe only for HV tools
|
||||||
upgrade1 = {
|
upgrade1 = {
|
||||||
meta = {
|
meta = {
|
||||||
|
|
||||||
},
|
},
|
||||||
metadata = "",
|
metadata = "",
|
||||||
count = 1,
|
count = 1,
|
||||||
name = "<modname:node>", - here the node will be a valid upgrade node
|
name = "<modname:node>",
|
||||||
|
-- here the node will be a valid upgrade node
|
||||||
wear = 0
|
wear = 0
|
||||||
},
|
},
|
||||||
upgrade2 = {
|
upgrade2 = {
|
||||||
@ -352,9 +365,11 @@ event ={
|
|||||||
name = "technic:battery",
|
name = "technic:battery",
|
||||||
wear = 0
|
wear = 0
|
||||||
},
|
},
|
||||||
demand = <integer>
|
demand = (integervalue)
|
||||||
charge = <integer>, -- amount of charge it contains
|
charge = (integer value),
|
||||||
max_charge = <integer>, -- maximum charge
|
-- amount of charge it contains
|
||||||
|
max_charge = (integer),
|
||||||
|
-- maximum charge
|
||||||
src = {
|
src = {
|
||||||
meta = {
|
meta = {
|
||||||
|
|
||||||
@ -362,7 +377,7 @@ event ={
|
|||||||
metadata = "return {[\"charge\"] = <integer>}",
|
metadata = "return {[\"charge\"] = <integer>}",
|
||||||
count = 1,
|
count = 1,
|
||||||
name = "technic:<toolname>",
|
name = "technic:<toolname>",
|
||||||
wear = <integervalue>
|
wear = (integervalue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user