# mod/player.rell
## player_info
* what's inside player_info.json?
## operation create_player
* Should be called by wm
* move token==null and then token creation into init.rell (or create ensure_token)
## update_player
* should be called by wm
* therefore remove ft3.acc.require_auth(player.account, user_auth.hash(), ["A"]);
# mod/player_stats.rell
## create_player_stats
* should be called by wm
* therefore remove ft3.acc.require_auth
## update_player_stats
* should be called by wm
* therefore remove ft3.acc.require_auth
# mod/lands.rell
## create_land
* should be called by wm
* move nfa_land == null and land creation to init (or create ensure_land)
## how does buy_land and rent_land work?
It should record what is on sale and buy that. Or in general, how does the sell proces work?
* not passing price, but only land_id.
* look it up in land.availableForRent
## upgrade_land
* only callable by workinman
# land_upgrades.rell
## create_land_upgrade
* should be called by wm ??
## list_land_upgrade_for_sale
* should be called by wm ??
## buy_land_upgrade
* AUTHENITCATION shouldn't be type "A", but no type
# Coupons.rell
* How does it work?
* Suggested approach, Generate some hashed, upload them to bc and distribute it to selected users. This can be used only once
# coupon_promos.rell
## create_coupon_promo
* not needed
* why should the user sign it?
## create_nfa_skin
* Who calls it?
# achievements.rell
* Should be called by wm
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.