mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Initial work on boat piloting changes - Changed: Boat script is now registered as the boat's control script - Added: Boat piloting via mouse movement - Added: boatRef.pilot member - Added: boatRef.pilot([charRef]) method * add first test * Fix boat control script attach on scripted create * move boat move packet warnings to suspicious acts * set pilot now errors when mutli has no process * Add test, testclient support for boat move packet * Touchup pilot members and methods - Change `pilot` method to `setpilot`. This standarizes it a bit with the same naming convention of `npc.setmaster`. - Fix return values in `pilot` member, returning `0` if no pilot. * Refactor to put functionality inside UBoat * Address Discord comments - Remove SuspecisionActs for no boat process. - Add `relative_direction` to boat move sysevent. * destroy boatmount on chr death; more error checks * Fix compilation after master merge * Fix relative_direction calculation * wip tests * Fix boat tests * Address review comments - Initialize UBoat::mountpiece * Add HSA check to boat.setpilot * Reject movement if boat mountpiece equipped * docs; test cleanup * add test for blocked movement * Address Discord review comments - Add suspicious acts notice for client movement while piloting - Return error on attempting to script move a char that is piloting a boat * Fix compiler warning
20 lines
No EOL
318 B
INI
20 lines
No EOL
318 B
INI
Tillerman=0x1F010
|
|
Port_Plank=0x1F011
|
|
Starboard_Plank=0x1F012
|
|
Hold=0x1F013
|
|
Rope=0x1F014
|
|
Wheel=0x1F015
|
|
Hull=0x1F016
|
|
Tiller=0x1F017
|
|
Rudder=0x1F018
|
|
Sails=0x1F019
|
|
Storage=0x1F01A
|
|
Weaponslot=0x1F01B
|
|
Boatmount=0x1F01C
|
|
|
|
Wrestling=0x1F020
|
|
Mount=0x1F021
|
|
Shield=0x1F022
|
|
|
|
Secure_Trade_Container=0x1FF01
|
|
Wornitems_Container=0x1FF02 |