Comments (3)
Do you still need this? I could add a remote interface, but only for control lua stage if thats ok.
from even-distribution.
I would very much like this, yes. Control stage is absolutely fine.
from even-distribution.
I added it in 1.0.10. These are the functions:
-- Returns the version of this remote API
-- Usage example: remote.call("even-distribution", "version")
function this.version()
return 1
end
-- Add an entity to be ignored by CTRL+Click Drag and SHIFT+C
-- Usage example: remote.call("even-distribution", "add_ignored_entity", "wooden-chest")
function this.add_ignored_entity(entity)
global.remoteIgnoredEntities = global.remoteIgnoredEntities or {}
global.remoteIgnoredEntities[entity] = true
end
-- Remove an entity from the ignored list
-- Usage example: remote.call("even-distribution", "remove_ignored_entity", "wooden-chest")
function this.remove_ignored_entity(entity)
global.remoteIgnoredEntities = global.remoteIgnoredEntities or {}
global.remoteIgnoredEntities[entity] = nil
end
-- Get the list of ignored entities
-- Usage example: remote.call("even-distribution", "get_ignored_entities")
-- --> { ["wooden-chest"] = true, ["steel-chest"] = true }
function this.get_ignored_entities(entity)
return global.remoteIgnoredEntities or {}
end
from even-distribution.
Related Issues (20)
- Small improvement HOT 7
- Shift-C to Machine Outputs option
- Incorrect item count in preview
- Force insert option for Ctrl+Click drag
- Error loading mod into world saved with 1.0.1 HOT 1
- Error on load with god mode on HOT 1
- Items returned to wrong player inventories when target is full
- Shift-C to machine outputs places fuel in furnace output HOT 1
- Useless block top left corner HOT 1
- Bug HOT 1
- Error while running event even-distribution::on_player_fast_transferred (ID 129) LuaEntity doesn't contain key x. HOT 1
- Crash when manually ditributing items
- DyWorld-Dynamic's burner radar causes crash when distributing items to it
- Blueprint books being cleared
- Crash when inputing rocket fuel on silo
- Inventory Cleanup Causing Production Issues
- Controls need rework
- can't use - crashes HOT 1
- Bug: Balancing items with durability resets durabiilty to full
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from even-distribution.