Fixed margin bounds

This commit is contained in:
SivarajanSam 2020-10-03 13:43:40 +05:30
parent 577df0ee45
commit fd7ad21edb

View File

@ -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>
<pre>
{
slotseq = "priority", -- priority | random | rotation
exmatch = true, -- true | false
name = name, -- here we give the node name to be sent.
count = count, -- no of count of node to be sent.
slotseq = "priority",
-- priority | random | rotation
exmatch = true,
-- 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>
Some example codes:<ol>
<li> Operating it as stack wise injector <pre>
@ -211,8 +215,10 @@ event = {
},
metadata = "",
count = 99,
name = "default:stone", -- name and count will chage according to the node
wear = 0 -- this says about the condition of tool
name = "default:stone",
--name and count will chage according to the node
wear = 0
-- this says about the condition of tool
},
action = "uput",
to_slot = 1 --denotes which slot the stuff is
@ -229,7 +235,8 @@ event ={
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,
name = "technic:blue_energy_crystal",
wear = 1
@ -252,9 +259,11 @@ event ={
owner = "sivarajan",
title = "my book",
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",
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 = "",
count = 1,
@ -262,7 +271,8 @@ event ={
wear = 0
},
action = "umove",
from_slot = 11, -- when moving stuff read the Notes
from_slot = 11,
-- when moving stuff read the Notes
to_slot = 3
}
}
@ -311,9 +321,9 @@ event{
event ={
type= "digiline"
msg={
mesecon_mode = 0,
enabled = 1,
power = 900
mesecon_mode = (intergervalue),
enabled = (integervalue),
power = (integervalue)
}
}
</pre>
@ -332,15 +342,18 @@ event ={
type = "digiline",
channel = "<channel>",
msg = {
input = <integer>, --input voltage
supply = 40000,--upgrade 1 and 2 are availabe only for HV tools
input = (integer),
--input voltage
supply = 40000,-
-upgrade 1 and 2 are availabe only for HV tools
upgrade1 = {
meta = {
},
metadata = "",
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
},
upgrade2 = {
@ -352,9 +365,11 @@ event ={
name = "technic:battery",
wear = 0
},
demand = <integer>
charge = <integer>, -- amount of charge it contains
max_charge = <integer>, -- maximum charge
demand = (integervalue)
charge = (integer value),
-- amount of charge it contains
max_charge = (integer),
-- maximum charge
src = {
meta = {
@ -362,7 +377,7 @@ event ={
metadata = "return {[\"charge\"] = <integer>}",
count = 1,
name = "technic:<toolname>",
wear = <integervalue>
wear = (integervalue)
}
}
}