Simutrans-Squirrel-API
api_factory.cc
Go to the documentation of this file.
1 
14 public:
18 private:
19  void _nexti();
20 public:
24 private:
25  void _get();
26 public:
30  integer get_count();
31 };
37 public:
43  factory_x(integer x, integer y);
61  table<factory_production_x> input;
70  table<factory_production_x> output;
74  bool is_valid();
79  array<coord> get_consumers();
84  array<coord> get_suppliers();
89  string get_name();
94  string set_name(string);
99  array<integer> get_production();
104  array<integer> get_power();
109  array<integer> get_boost_electric();
114  array<integer> get_boost_pax();
119  array<integer> get_boost_mail();
124  array<integer> get_pax_generated();
129  array<integer> get_pax_departed();
134  array<integer> get_pax_arrived();
139  array<integer> get_mail_generated();
144  array<integer> get_mail_departed();
149  array<integer> get_mail_arrived();
154  array<coord> get_tile_list();
159  array<halt_x> get_halt_list();
173  integer get_field_count();
177  integer get_min_field_count();
178 };
184 public:
188  integer max_storage;
193  array<integer> get_storage();
198  array<integer> get_received();
203  array<integer> get_consumed();
208  array<integer> get_in_transit();
213  array<integer> get_delivered();
218  array<integer> get_produced();
223  integer get_base_production();
228  integer get_base_consumption();
233  integer get_consumption_factor();
238  integer get_production_factor();
239 };
table< factory_production_x > input
Definition: api_factory.cc:61
array< integer > get_storage()
array< integer > get_consumed()
array< integer > get_boost_pax()
array< integer > get_mail_arrived()
array< coord > get_consumers()
factory_x(integer x, integer y)
array< integer > get_produced()
integer get_consumption_factor()
array< integer > get_mail_departed()
array< integer > get_pax_arrived()
array< integer > get_power()
array< integer > get_in_transit()
string get_name()
array< integer > get_boost_electric()
bool is_valid()
integer get_min_field_count()
integer x
x-coordinate
Definition: api_simple.cc:35
array< integer > get_production()
integer get_count()
array< integer > get_boost_mail()
array< coord > get_tile_list()
array< integer > get_delivered()
table< factory_production_x > output
Definition: api_factory.cc:70
string set_name(string)
array< integer > get_received()
integer y
y-coordinate
Definition: api_simple.cc:37
array< integer > get_mail_generated()
integer get_field_count()
integer get_production_factor()
integer get_base_consumption()
array< coord > get_suppliers()
array< integer > get_pax_generated()
array< halt_x > get_halt_list()
integer get_base_production()
powerline_x get_transformer()
array< integer > get_pax_departed()
bool is_transformer_connected()