Search found 3 matches

by Parallel
Wed Nov 02, 2016 3:44 am
Forum: Modding help
Topic: on_player_cursor_stack_changed how it works?
Replies: 3
Views: 1495

on_player_cursor_stack_changed how it works?

Hello,, everyone.
How exactly works event on_player_cursor_stack_changed:
1 Is it called when player get some item frrom inventory/chest/etc.?
2 Is it called when player moving whoe stack by using ctrl+LeftClick?
3 Is it called when player putting some items to chest without opening it?
4 Is there ...
by Parallel
Tue Oct 18, 2016 4:49 pm
Forum: Modding help
Topic: GUI for object
Replies: 4
Views: 1348

Re: GUI for object

Thx. Interesting solution, but there are 3 entities of diferent type and unlimited fuel. I need to get access to object's GUI, so i coud create my own interface. so in future i coud make objects of not standard classes
by Parallel
Tue Oct 18, 2016 3:05 pm
Forum: Modding help
Topic: GUI for object
Replies: 4
Views: 1348

GUI for object

Hello everyone!
Itrying to make lamp, that can work from fuel.
energy_source =
{
type = "burner",
effectivity = 1,
emissions = 0.02,
fuel_inventory_size = 1,
smoke =
{
{
name = "smoke",
deviation = {0.1, 0.1},
frequency = 5,
position = {0.0, -0.8},
starting_vertical_speed = 0.08 ...

Go to advanced search