Luis C.M
cc61684fb8
Fixed custom item console
2022-07-03 09:46:40 -05:00
Luis C.M
c8a3b7825d
Particle packets are only sent to players in the particle's world now.
2022-07-02 13:07:23 -05:00
Luis C.M
79a703429c
ISkinOverlay:
...
-Removed set/getLocation, only supposed to be used during rendering.
2022-07-02 06:22:43 -05:00
Luis C.M
1cdc47864b
ISkinOverlay:
...
-Removed set/getLocation, only supposed to be used during rendering.
2022-07-02 03:23:24 -05:00
Luis C.M
b51c47c2d4
IItemCustom:
...
-Added setArmorType
2022-07-02 03:15:38 -05:00
Luis C.M
4b7d8e744e
ScriptCustomItem:
...
-Increased max stack size to 127.
2022-07-02 03:14:06 -05:00
Luis C.M
f3f209820c
IParticle:
...
-Added glow option.
2022-07-02 03:10:11 -05:00
Luis C.M
256ba5c599
Removed ScriptFaction in place of IFaction.
2022-07-01 23:26:47 -05:00
Luis C.M
496961ccc5
NpcAPI:
...
-Added getObjectSize() function for calculating object sizes.
RenderCNPCPlayer:
-Added gender & age/child compatibility for DBC rendering.
2022-07-01 17:02:40 -05:00
Luis C.M
e65088f796
INaturalSpawnsHandler:
...
Added a way to add and remove specific spawn data.
2022-06-29 14:51:09 -05:00
Luis C.M
dd700c677b
Natural Spawn Entries:
...
-Added GUI options for new natural spawn attributes.
-Added 4 more entity options
-Fixed natural spawning not working at night
2022-06-29 14:21:55 -05:00
Luis C.M
55b21de050
Added drowning types:
...
In Air,
In Water,
or
Never
to CNPCs.
2022-06-29 12:21:30 -05:00
Luis C.M
4094f3e851
Added 4 different spawning options, and spawning height max and mins to natural spawn entries.
2022-06-29 03:36:52 -05:00
Luis C.M
7d0b124422
Npc API:
...
-Added natural spawn controller support
2022-06-29 00:06:38 -05:00
Luis C.M
58932ffe55
Fixes to scripted item rendering.
...
IItemCustom:
-Removed unnecessary setters.
2022-06-28 04:39:50 -05:00
Luis C.M
0aa9303f61
IPlayer:
...
-Removed 4 sendMessage functions that can already be done with Minecraft formatted codes.
2022-06-28 01:23:42 -05:00
Luis C.M
37e12b81d0
IPlayer:
...
-Implemented removeItem, removeAllItems, and inventoryItemCount functions with "ignoreNBT" and "ignoreDamage" parameters.
2022-06-28 01:10:38 -05:00
Luis C.M
1ca5a306fc
IDBCPlayer:
...
-Items can be set in vanity or armor slots, based on a "vanity" boolean value in setItem().
ISkinOverlay:
-Renamed setScale to setTextureScale.
2022-06-19 15:18:13 -05:00
Luis C.M
b45cad77dd
Added CustomGuiEvent.SlotClickEvent.
2022-06-18 12:52:23 -05:00
Luis C.M
40a210ce8f
Added configurable limits to skin overlays and dialog images.
2022-06-14 23:27:15 -05:00
Luis C.M
180b798773
IItemCustom:
...
-Hid some internal script execution functions from the player.
2022-06-13 21:42:49 -05:00
Luis C.M
5b3c6d9e3f
NpcAPI:
...
-stopServer() calls initiateShutdown() instead of stopServer(), stops crashes on stop.
2022-06-13 21:31:42 -05:00
Luis C.M
c7085f7acb
IDBCPlayer:
...
-Added getItem(byte slot) to get IItemStack objects from DBC EP slots.
-Renamed setInventoryItem to setItem
2022-06-13 21:24:55 -05:00
Luis C.M
ab5775f8f3
IDBCPlayer:
...
-Added void setInventoryItem(byte slot, IItemStack itemStack) function to set and remove (set null) items from DBC extra inventory.
2022-06-13 21:01:58 -05:00
Luis C.M
dd207757ea
IPlayer:
...
-Added disableMouseInput(long time, int... buttonIds) function.
2022-06-13 17:21:02 -05:00
Luis C.M
fd1ac6dce4
Merge KAMKEEL-dev into dev.
2022-06-12 04:23:05 -05:00
Luis C.M
13ddc19522
Merge branch 'master' into dev
...
# Conflicts:
# src/main/java/noppes/npcs/client/model/ModelMPM.java
# src/main/java/noppes/npcs/client/renderer/RenderNPCHumanMale.java
2022-06-12 03:40:50 -05:00
Luis C.M
63a1525ee2
API Changes:
...
-Implemented interfaces for all jobs & roles.
ScriptPlayer:
-Added getData() function, which returns player data objects.
IPlayerData: New class that holds all player data for modification.
-Holds dialog, bank, quest, transport, faction, item giver, and mail data.
-Also holds companion data, with functions has/set/getCompanion, and a getCompanionID function to differentiate companions.
2022-06-12 01:26:23 -05:00
Luis C.M
587f63396f
Dialog Image interface added.
2022-06-10 18:46:24 -05:00
Luis C.M
9c29aabea8
Merged local and global NPC events, deleting old unused event classes.
2022-06-10 18:32:42 -05:00
Luis C.M
8f16e6b20f
Added IDialogImage, a scripted object which is used by IDialog. Used to add dialog images.
...
IDialog:
-Added several new functions for dialogs' new visual attributes, as well as a way to add, get, create, remove, and clear dialog images.
Global NPC events:
-Added fields and variables from the old ScriptEvent events, in preparation to replace the old events with NpcEvent instances on local NPC scripts.
-Fixed issue where some event hooks would run on remote worlds.
Global NPC killed event:
-Added droppedItems and expDropped fields.
IWorld and NpcAPI:
-Now always uses a non-remove WorldServer object to create ScriptWorld objects and add them to the world cache.
2022-06-10 17:25:58 -05:00
Luis C.M
b64ee1c93a
Merge pull request #54 from 1whohears/dev
...
Some Extra Soul Stone Options
2022-06-09 02:35:22 -05:00
1whohears
b7ef1da0d8
added npc.setMinPointsToSoulStone
2022-06-08 22:13:30 -05:00
1whohears
5740519ed2
ScriptRoleTrader.getSellOption returns the item being sold instead of the currency
2022-06-08 12:12:18 -05:00
1whohears
825c42fc52
npc.isSoulStoneinit
2022-06-07 12:31:49 -05:00
1whohears
17fa6328c9
fixed crash when hovering over a trader item slot
...
HashMap.put doesn't work the way I thought it did
2022-06-06 14:38:33 -05:00
Luis C.M
213d69f146
Function added
...
NpcAPI:
-Added stopServer() function.
2022-05-31 18:54:11 -05:00
1whohears
a675033d62
String data can't be null
2022-05-29 14:42:28 -05:00
Luis C.M
f9e92f3172
Added blend attribute to skin overlays.
2022-05-29 05:23:39 -05:00
1whohears
fb0ff50994
added get set refuse soul stone
...
one may want an npc to not be able to be picked up by soul stone in any circumstance
2022-05-29 02:46:24 -05:00
Luis C.M
fd0a99b3ed
Revert "NPC Skin Changes"
2022-05-29 00:59:40 -05:00
1whohears
9fef65b194
get the name of the player who spawned this npc with soulstone
2022-05-28 23:40:01 -05:00
1whohears
b18d0965f2
script player.sendMessage uses String as color parameter
2022-05-28 22:53:57 -05:00
Luis C.M
0028328db4
More fixes to setting NPC model types.
2022-05-28 07:06:38 -05:00
Luis C.M
968b43a321
setModelType() only takes 0 for Steve, or 1 for Alex as values.
2022-05-28 06:31:52 -05:00
Luis C.M
76802d1926
Pushed IDBCPlayer interface.
2022-05-27 15:55:15 -05:00
Luis C.M
8d4a7ea0b6
More merge fixes
2022-05-27 15:54:12 -05:00
Luis C.M
ec5fc71413
Merge branch 'master' into dev
...
# Conflicts:
# src/main/java/noppes/npcs/scripted/ScriptFaction.java
# src/main/java/noppes/npcs/scripted/ScriptWorld.java
# src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java
# src/main/java/noppes/npcs/scripted/entity/ScriptPlayer.java
# src/main/java/noppes/npcs/scripted/interfaces/IEntity.java
# src/main/java/noppes/npcs/scripted/interfaces/IWorld.java
# src/main/java/noppes/npcs/scripted/interfaces/entity/ICustomNpc.java
# src/main/java/noppes/npcs/scripted/interfaces/entity/IPlayer.java
2022-05-27 15:31:02 -05:00
Luis C.M
301e113be2
Added quest tracking, need to add objectives list and turn in info too.
2022-05-27 14:32:24 -05:00
1whohears
f83487f67b
removed setblock with the Minecraft block class as a parameter
2022-05-27 11:28:01 -05:00