mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-29 22:14:44 +00:00
better documentation layout
- seperated the 2000+ lines in ReadMe.md into seperate files. - useful if things expand - better readability for users - more organised layout
This commit is contained in:
1 parent
520758b355
commit
451e4cbbdb
29 files changed
+1690
-1719
No files matched your search
@@ -0,0 +1,28 @@
|
||||
### societybank.lua
|
||||
|
||||
This module handles financial operations for society accounts, typically used for jobs or organizations.
|
||||
|
||||
- **getSocietyAccount(society)**
|
||||
|
||||
- Retrieves the current balance for the specified society.
|
||||
- **Example:**
|
||||
```lua
|
||||
local balance = getSocietyAccount("police")
|
||||
print("Police account balance: $"..balance)
|
||||
```
|
||||
|
||||
- **chargeSociety(society, amount)**
|
||||
|
||||
- Deducts a specified amount from the society's account.
|
||||
- **Example:**
|
||||
```lua
|
||||
chargeSociety("police", 500)
|
||||
```
|
||||
|
||||
- **fundSociety(society, amount)**
|
||||
|
||||
- Adds funds to a society’s account.
|
||||
- **Example:**
|
||||
```lua
|
||||
fundSociety("ambulance", 1200)
|
||||
```
|
||||
Reference in new issue
Block a user