The Riftbreaker
Недостаточно оценок
Entity Patcher
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
693.729 KB
7 сен в 13:28
29 сен в 18:36
Обновлений: 13 (просмотреть)

Подпишитесь, чтобы загрузить
Entity Patcher

Описание
Entity Patcher is a pure .lua switch like made to simplify component manipulation with table

It provides a set of helper functions that let safely inspect, log, and modify entities without having to manually dig through every field.

Component Handlers:
BuildingDesc
HealthDesc
RegenerationComponent
HealthComponent
TurrentComponent
TurrentDesc
LuaComponent database (change and add new (string, float, int))
EffectDesc (change and add new groups)
ResistanceComponent (change and add new)

components not listed use default patcher, safe to use with normal values string, number and table.

====================================================================
LogBlueprintComponents( bp_name: string, component: table, godeep: bool, ghost: bool )
component nil, get all components, if not nil works a whitelist table
godeep true show all container and inner containers
ghost after showing main bp what it have to show, it will Log ghost variant if exist
====================================================================
Apply(arg1: table, arg2: table, ignore_fail: bool, ignore_changes:bool)
Use single table to assign each individual value for each blueprint
Use two tables if want to apply changes to n* blueprints with same values
ignore_fail true to ignore fails logs of bp and component
ignore_changes true to ignore logs of bp changes
====================================================================
Популярные обсуждения Просмотреть все (2)
2
26 сен в 20:20
Tables
Claus
0
15 сен в 14:56
Using
Claus