]> git.lizzy.rs Git - Crafter.git/blob - README.md
Fix mob count handling
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.3.0-DEV
4
5 >Built using textures from <a href="https://forum.minetest.net/viewtopic.php?t=16407">Mineclone 2</a> 
6
7 ---
8
9 ## Be sure to install the clientside mod for this game mode: <a href="https://github.com/oilboi/crafter_client">Download here</a>
10
11
12
13
14 ## If you want to run this on a server you must add this to your server minetest.conf:
15
16 ```
17 enable_client_modding = true
18 csm_restriction_flags = 0
19 enable_mod_channels = true
20 ```
21
22
23
24 ## This game is in early alpha and uses a lot of experimental features in the engine
25
26 ---
27
28 # ALPHA STATE CHANGELOG
29
30 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
31
32 ## Alpha 0.05
33
34 > Multiplayer Polishing Update
35 - Fixed only one player being able to run on a server
36 - Fixed only one person being able to teleport in the same server step
37 - Players now use the same damage mechaninism as mobs
38 - Fixed wrong variable for durability assigned to all swords
39 - Fix bug in experience
40 - Fully implemented bows and arrows
41 - Tuned the bow and arrows even further
42 - Snowmen now drop a carrot, coal, stick, or snowball
43 - Added in armor
44 - Tuned a lot of things
45 - Made armor work
46 - Added in Krock's awesome Colored Names mod for csm chat
47 - Added sheep
48 - Fixed global mob handling
49 ---
50
51
52 # IDEAS:
53
54 ## jetpack:
55 - equipped like armor
56 - uses XP
57
58
59 ## REDSTONE:
60 - breaker (mines whatever is in front of it)
61 - dispenser (shoots out first item in inventory, or shoots item into pipe)
62 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
63
64
65 ---
66
67
68
69 ## BUILDTEST:
70 - quarry
71 - filter
72 - siv
73 - mining lazer
74 - trains
75
76
77
78 ---
79
80
81 ## MOBS:
82
83 > #1 idea: weakness items, items that damage the mob more than diamond swords
84
85 ### snowman
86 - you can put a pumpkin on it's head to make it survive when it's not snowing out
87 - drops snowballs, coal, or carrot
88
89 ### sheep
90 - sheep can be punched to drop wool without damage
91 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
92
93
94 ### pig
95 - disable pig aggression
96 - make porkchop look nicer
97
98
99 ### ghosts
100 - make the default player model whited out
101 - ghosts can pass through any nodes
102 - ghosts fly around
103 - will follow you groaning about "diamonds", "need food", and "join us"
104 - they will fling you up in the air or punch you
105 - ghosts can drag you down into nodes and suffocate you
106 - spawn with cave sounds
107 - drop soul
108
109
110 ### node monster
111 - gets built out of nodes in the area
112 - will probabaly destroy you
113 - drops all nodes that it's made of when killed
114
115
116
117 ---
118
119
120 ## Game Mechanics:
121 - brewing
122 - enchanting/upgrading
123 - magic (wands, spells, etc)
124 - better combat ( sweep hit enemies, falling while hitting deals more damage )
125 - Enchanting food - gives buffs
126
127
128 ---
129
130
131 ## New Themes
132
133 ### mechanics (mechanical tools and machines)
134 - compressor (compresses nodes down)
135 - auto miner (digs whatever is in front of it)
136 - decompressor (opposite of compressor
137
138
139 ### automation 
140 - pipes
141 - pumps
142 - fluid  transfer
143 - fluid storage
144 - pipes should be able to move objects quickly
145
146
147 ### HALLOWEEN!
148 - Jack O'Lanterns
149 - corn and corn stalks
150 - decorations
151 - cobwebs
152 - costumes (somehow?)
153 - candy
154 - make grass and leaves orange during the month of October
155 - (Use a simple date check and override nodes)
156 - Gravestones
157 - Graveyards
158 - Candles
159 - candy apples
160 - Soul cake, make with cake and soul
161
162
163 ### Farming
164 - add fertilizer (pig drops bone randomly) 
165 - fertilizer is made out of bone - 
166 - fertilizer can make tall grass grow on regular grass
167 - bread - 3 bread in a row
168 - make sandwich with bread and cooked porkchop
169 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
170
171
172 ### Fishing
173 - enchanted fish
174 - player casts out a better lure if on a boat
175
176
177 ---
178
179
180 ## New Items
181
182 > These don't seem to fit into any theme so list them all here
183
184 - rope and tnt arrows
185 - vehicles (car, powered minecarts, trains)
186 - hitscan flintlocks
187
188
189 ---
190
191
192 ## Ideas
193
194 > These ideas are all over the place but are good for future updates
195
196 - make pistons able to push and pull any node that does not use meta or inv
197 - make pistons able to push and pull deactivated pistons
198 - upgrade minecart physics even more 
199 - make torches abm that checks if player in area
200 - make furnace abm that checks if player in area
201 - make tnt hurt player
202 - rewrite minecart
203 - fix tool rightclick torch placement to replace buildable to nodes
204 - if placed last node put another stack into hand
205 - have falling node hurt player?
206 - add a function to set a velocity goal to entities and then implement it with all entities
207 - ^make a value if below then stop?
208 - colored chat messages
209 - check if everyone is in bed before going to next night
210 - also lock player in bed until they get out or daytime
211 - create a function to check if a node or group is below
212 - ^ set meta for player so that all mods can use it without calculating it
213 - ^ over and over again (saves cpu cycles)
214 - cars buildable in crafting table
215 - require gas pumps refine oil
216 - drive next to gas pump and car will fill with gas
217 - maybe have pump be rightclickable and then manually fill with gass using nozel
218 - minecart car train? - off rail use
219 - automatic step height for off rail use
220 - make cars follow each other
221 - oil which spawns underground in pools
222 - powered minecart car (engine car)
223 - chest minecart car
224 - player controls engine car
225 - make entities push against players
226
227
228 ---
229
230
231 ## Possible Applications
232
233 > causes object to magnetize towards player or other objects and stop after an inner radius
234 > use for better item magnet?
235 ```
236 if object:is_player() and object:get_player_name() ~= self.rider then
237       local player_pos = object:getpos()
238       pos.y = 0
239       player_pos.y = 0
240       
241       local currentvel = self.object:getvelocity()
242       local vel = vector.subtract(pos, player_pos)
243       vel = vector.normalize(vel)
244       local distance = vector.distance(pos,player_pos)
245       distance = (1-distance)*10
246       vel = vector.multiply(vel,distance)
247       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
248       
249       
250       if self.axis == "x"      then
251             self.object:add_velocity(vector.new(acceleration.x,0,0))
252       elseif self.axis == "z" then
253             self.object:add_velocity(vector.new(0,0,acceleration.z))
254       else
255             self.object:add_velocity(acceleration)
256       end
257       
258       - acceleration = vector.multiply(acceleration, -1)
259       - object:add_player_velocity(acceleration)
260 end
261 ```