/doomtrain

factorio mod game, for living players need to learn how to survive in a long way

Primary LanguageLua

Doomtrain 末日火车

A factorio scenario based game, players need to learn how to live on a long way, struggling with food, water, coldness, hotness and biters attacks.

For more info, check doomtrain wiki

Facto Library

Facto library is an object oriented programming based modding library which provides a special modding architecture and a set of services for modding creation. The below lists the core features and services currently supported:

Object Oriented Programming

  1. Data encapsulation
  2. Simple Inheritance
  3. Polymorphism
  4. Metalizing raw tables to objects

GameManager - A service container

  1. Centralized configuration
  2. Dependency Injection
  3. Centralized data accessing

Event dispatcher service

  1. Delegation for factorio raw event api
  2. Multiple event handlers registration
  3. Runtime Event registration
  4. Timer creation
  5. Customized events registration and dispatching

Gui service

  1. Factory Pattern Creation
  2. HTML css-like style
  3. Data binding
  4. HTML form-like data submitting
  5. Extend customized Gui type
  6. Serialized event handlers

License of Facto Library

(The MIT License)

Copyright (c) 2020 kendoctor kendoctorcg@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.